Hi Marcus,

On Tue, 2005-11-15 at 19:15 +0100, Marcus Lindblom wrote:
> Hi,
> 
> I was fiddling a bit with the addRefP,subRefP as they are needed for 
> text objects. Since they take reference-to-pointer-to-object, they are a 
> bit cumbersome to use with boost::bind/boost::smart_ptr (which I like).
> 
> I see no need for this, other than to prevent users changing the 
> ref-count of a pointer-to-const. Since it is possible in C++ to delete 
> an object via a pointer-to-const there should be little difference in 
> OpenSG, for much the same reasons (let's not start a religous war over 
> this, it's there and Bjarne says it's for good reasons), methinks.
> 
> Or are there other subtleties in this? I'm mostly just curious.

None that I can think of. We generally try to use ref-to-ptr to reduce
the data that needs to be passed around, but that's about it.

Gerrit, did I miss something?

        Dirk




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to