2008/12/5 Serge Lages <[EMAIL PROTECTED]>:
> I tried the patch but it doesn't work for Visual Studio.
>
> Anyone have an idea on how to transform a method declaration like that :
>
> float (&operator[](size_t index) throw ())[4];
>
> In something similar but VS compliant ?
>

If you are trying to get a pointer to member function you need the
class name in front of operator eg

float (&AClass::operator[](size_t index) throw())[4];

VC7.1 compiles that, but later versions are more standards compliant.

-- 
The truth is out there. Usually in header files.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to