The Sparta Modeling Framework
Loading...
Searching...
No Matches
MetaStruct::remove_any_pointer< T > Struct Template Reference

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
 

Detailed Description

template<typename T>
struct MetaStruct::remove_any_pointer< 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.

Member Typedef Documentation

◆ type

template<typename T >
using MetaStruct::remove_any_pointer< T >::type = T

Definition at line 283 of file MetaStructs.hpp.


The documentation for this struct was generated from the following file: