AFIO  v2.00 late alpha
afio_v2_xxx::storage_profile::item_erased Struct Reference

A type erased tag-value item. More...

#include "storage_profile.hpp"

Inheritance diagram for afio_v2_xxx::storage_profile::item_erased:

Public Types

using handle_type = item_base::handle_type

Public Member Functions

 item_erased (const item_erased &)=delete
 item_erased (item_erased &&)=delete
item_erasedoperator= (const item_erased &)=delete
item_erasedoperator= (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

Detailed Description

A type erased tag-value item.

The documentation for this struct was generated from the following file: