[cairo] cairomm: reference counting v. inheritance
Christian Biesinger
cbiesinger at web.de
Sat Dec 17 07:54:29 PST 2005
Murray Cumming wrote:
> Cairo::LinearGradient derived2 =
> dynamic_cast<Cairo::LinearGradient>(base); //Not valid syntax.
What about:
Cairo::LinearGradient& derived2 =
dynamic_cast<Cairo::LinearGradient&>(base);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4762 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freedesktop.org/archives/cairo/attachments/20051217/42d485bb/smime.bin
More information about the cairo
mailing list