Dirk Reiners wrote:
>       Hi Patrick,
> 
> On Sat, 2005-04-16 at 10:29 -0500, Patrick Hartling wrote:
> 
>>I am curious about which namespace is recommended for software using
>>OpenSG.  I see that OSG is a preprocessor symbol that maps to osg, and
>>it has been suggested to me that code should be using OSG:: in case the
>>osg:: namespace should be renamed in the future.  As far as I have seen,
>>the documentation doesn't touch on this topic, and all the tutorial code
>>I have seen uses USING_NAMESPACE_OSG.  So, I guess the question becomes,
>>should code be using OSG::, osg::, or USING_NAMESPACE_OSG?
> 
> 
> USING_NAMESPACE_OSG is just a convenience for 'namespace OSG {} using
> namespace OSG;', so you're free to use it if you want, but you don't
> have to.
> 
> In general I'd prefer using OSG:: instead of osg::, especially for
> extensions, for the reasons you cited.

Okay, thanks for the clarification.  I had been using osg::, but I'll
switch it over to OSG::.

 -Patrick


-- 
Patrick L. Hartling                    | VP Engineering, Infiscape Corp.
PGP: http://tinyurl.com/2msw3          | http://www.infiscape.com/

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to