Antonio Bleile wrote:
> Hi,
>
> I'm currently trying to test the cl.net 2005 build of
> OpenSG. When I compile my app with this version I
> get some errors concerning the traverse methods:
>
> traverse(rootNode,    
>               osgTypedMethodFunctor1ObjPtrCPtrRef     <Action::ResultE,
> MaterialPool, NodePtr>(this, MaterialPool::unShadeNode));
>
>
> While this line was ok with the old cl.net 2003 compiler, 
> with 2005 I have to add "&" on the method pointer. What's
> the reason for that?
>   
2003 allows incorrect member-pointer syntax. The right (C++ standard) 
way is to use the adress-of (&) operator.

Cheers,
/Marcus

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to