Replying to myself :)

Problem is: declaration of set(...) methods in derived Matrix*Template classes 
hides base class MatrixTemplate::set(...) pack of methods
This can be solved by adding line:
    using MatrixTemplate<[template params]>::set;

in each derived class declaration.

May be someone have better solution?

Cheers,
Sergey.


26.04.2012, 12:50, "Sergey Polischuk" <pol...@yandex.ru>:
> Hello there
>
> copy constructors for matrix2 now not work (and by this i mean code will not 
> compile), i believe other matrices that are done with MatrixTemplate have 
> same behavior
>
> repro code:
>
> #include <osg/Uniform>
>
> int main(int argc, char** argv)
> {
>  osg::Matrix2 m(0,0,0,0);
>  osg::Matrix2 m1(m); //<- compilation fails on this line
>  return 0;
> }
>
> Cheers,
> Sergey.
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to