MADARA  3.1.8
madara::knowledge::tags Namespace Reference

Tags to specify what type to construct in KnowledgeRecord forwarding constructors. More...

Classes

struct  binary_t
 
struct  doubles_t
 
struct  integers_t
 
struct  shared_t
 
struct  string_t
 

Functions

template<typename T >
constexpr shared_t< T > shared (T)
 Used to signal in-place shared_ptr construction in KnowledgeRecord Example: tags::shared(tags::integers) More...
 

Variables

static constexpr struct madara::knowledge::tags::binary_t binary
 
static constexpr struct madara::knowledge::tags::doubles_t doubles
 
static constexpr struct madara::knowledge::tags::integers_t integers
 
static constexpr struct madara::knowledge::tags::string_t string
 

Detailed Description

Tags to specify what type to construct in KnowledgeRecord forwarding constructors.

If you give one of the values defined in this namespace as the first argument to the KnowledgeRecord constructor, the remaining arguments will be forwarded to construct the underlying type in-place.

Function Documentation

template<typename T >
constexpr shared_t<T> madara::knowledge::tags::shared ( )
inline

Used to signal in-place shared_ptr construction in KnowledgeRecord Example: tags::shared(tags::integers)

Definition at line 50 of file KnowledgeRecord.h.

Variable Documentation

constexpr struct madara::knowledge::tags::binary_t madara::knowledge::tags::binary
static
constexpr struct madara::knowledge::tags::doubles_t madara::knowledge::tags::doubles
static
constexpr struct madara::knowledge::tags::integers_t madara::knowledge::tags::integers
static
constexpr struct madara::knowledge::tags::string_t madara::knowledge::tags::string
static