|
Bifrost SDK
Bifrost SDK documentation
|
Traits about the to-be-pointee of an Amino::Ptr<T> or Amino::MutablePtr<T> class. More...
#include <Ptr.h>
Classes | |
| struct | is_compliant |
| Whether the class of type T can be stored in an Amino::Ptr<T> or an Amino::MutablePtr<T>. More... | |
| struct | is_compliant_base |
| Whether a Ptr<T> or MutablePtr<T> can be instantiated. More... | |
Public Types | |
| template<typename T > | |
| using | is_defaultable = PtrInternal::DefaultPtrTraits::is_defaultable< T > |
| Whether Ptr{PtrDefaultFlag{}} or Amino::makeDefaultPtr<T>() can be used for a pointee of type T. More... | |
Traits about the to-be-pointee of an Amino::Ptr<T> or Amino::MutablePtr<T> class.
This is used to check that a given type T can be wrapped in an Amino::Ptr or Amino::MutablePtr. If not, an error will be emitted at compile time.
| using Amino::PointeeTraits::is_defaultable = PtrInternal::DefaultPtrTraits::is_defaultable<T> |
Whether Ptr{PtrDefaultFlag{}} or Amino::makeDefaultPtr<T>() can be used for a pointee of type T.