0

I want to do something like this:

template <class SoType> 
public ref class SoTile : SoType

As my class is ref and I inherit from SoType, it may be ref

template <ref class SoType> 
public ref class SoTile : SoType

But when I try to compile it gives me this error:

Error   1   error C3816: 'class SoType' was previously declared or defined with a different managed modifier    d:\oceanprojects\lidarinfo\oivlodenode\SoTile.h 7   1   OivLodeNode

Some help? Maybe I'm not understanding something...

4

0 に答える 0