OgreAny with inherited class
Posted: Tue Dec 11, 2012 12:50 pm
Hi Developers,
Lets say i'm using Ogre Any on Texture, when i call Any::get() i'm getting exception because Textures is not same type of RenderSystem implementation texture.
I think the check would be with something from std::type_traits or maybe is_base_of (http://www.cplusplus.com/reference/type ... s_base_of/).
Amer
Lets say i'm using Ogre Any on Texture, when i call Any::get() i'm getting exception because Textures is not same type of RenderSystem implementation texture.
I think the check would be with something from std::type_traits or maybe is_base_of (http://www.cplusplus.com/reference/type ... s_base_of/).
Amer