codex
Loading...
Searching...
No Matches
codex::refl::detail Namespace Reference

Classes

class  field_storage
 Ultimate class for the storage of each field. More...
 
struct  field_tuple_impl
 Implementation of creating a std::tuple from the fields of a struct. More...
 
struct  storage_descriptor
 Default storage descriptor. More...
 
struct  storage_impl
 
class  storage_impl< S, std::index_sequence< Is... >, std::tuple< Ts... > >
 Storage for all fields of a structure. More...
 
struct  to_any
 Structure which can be ostensibly converted to any other. More...
 

Typedefs

template<typename T , typename S >
using storage
 Storage for all fields of a structure.
 

Functions

 X (1, _0) X(2
 
_1 X (3, _0, _1, _2) X(4
 

Variables

 _0
 
_1 _1
 
_1 _2
 

Typedef Documentation

◆ storage

template<typename T , typename S >
using codex::refl::detail::storage
Initial value:
storage_impl<
S, std::make_index_sequence<refl::field_count<T>()>,
refl::field_tuple_t<T>>
Definition reflexpr.cpp:168

Storage for all fields of a structure.

Convenient interface to instantiate storage_impl for a type T and storage descriptor S.

Function Documentation

◆ X() [1/2]

codex::refl::detail::X ( 1 ,
_0  )

◆ X() [2/2]

_1 codex::refl::detail::X ( 3 ,
_0 ,
_1 ,
_2  )

Variable Documentation

◆ _0

_1 codex::refl::detail::_0

◆ _1

_1 codex::refl::detail::_1

◆ _2

_1 codex::refl::detail::_2