François,
I'm glad I could help.
Thanks for your reply; I was afraid that my explaination might not
have made much sense (which is why I posted the link with my reply).
We all have things to learn; we will just have to keep searching for
good things to know and share that knowledge when we can.
Thank you for this clear explanation and the interesting link. I really didn't
know this C++ feature. You make me less idiot :D
Cheers,
François
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=22196#22196
_
Hi, François.
A "using" directive can be used for things other than namespaces.
In this case, the "using" directive introduces all instances of
"supports" and "accepts" from the class Drawable scope (I think
they're all in the public scope of that class) into the public scope
of class ShapeDrawab
Hi,
I cannot figure out the role of the next two lines in the ShapeDrawable
implementation. I thought that the keyword "using" was only for namespaces...
Can someone help me?
using Drawable::supports
using Drawable::accept
Thank you!
Cheers,
François
--
Read this topic online
4 matches
Mail list logo