Bifrost SDK
Bifrost SDK documentation
Amino::PointeeTraits Struct Reference

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...
 

Detailed Description

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.

Definition at line 54 of file Ptr.h.

Member Typedef Documentation

◆ is_defaultable

template<typename T >
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.

Definition at line 94 of file Ptr.h.