The Sparta Modeling Framework
|
Template type helper that removes any pointer. A modeler may call certain APIs with shared pointers to the actual Collectable classes, or templatize Collectables with pointers to collectable objects. To make our API have a single interface and still work when passed pointers, we will remove the pointer and then do all the decision making work, by default. It is harmless if the modeler passes a non pointer type as removing a pointer from something which is not a pointer results in itself. More...
#include <MetaStructs.hpp>
Public Types | |
using | type = T |
Template type helper that removes any pointer. A modeler may call certain APIs with shared pointers to the actual Collectable classes, or templatize Collectables with pointers to collectable objects. To make our API have a single interface and still work when passed pointers, we will remove the pointer and then do all the decision making work, by default. It is harmless if the modeler passes a non pointer type as removing a pointer from something which is not a pointer results in itself.
Definition at line 283 of file MetaStructs.hpp.
using MetaStruct::remove_any_pointer< T >::type = T |
Definition at line 283 of file MetaStructs.hpp.