LLFIO
v2.00
|
A type erased tag-value item. More...
#include "storage_profile.hpp"
Public Types | |
using | handle_type = item_base::handle_type |
Public Member Functions | |
item_erased (const item_erased &)=delete | |
item_erased (item_erased &&)=delete | |
item_erased & | operator= (const item_erased &)=delete |
item_erased & | operator= (item_erased &&)=delete |
template<class U > | |
auto | invoke (U &&f) const |
Call the callable with the unerased type. | |
outcome< void > | operator() (storage_profile &sp, handle_type &h) const |
Set this item if its value is default. | |
Public Attributes | |
char | _padding [item_size - sizeof(item_base)] |
const char * | name |
The name of the item in colon delimited category format. | |
const char * | description |
Some description of the item. | |
storage_types | type |
The type of the value. | |
Static Public Attributes | |
static constexpr size_t | item_size = item_base::item_size |
A type erased tag-value item.