Itoyori  v0.0.1
ityr::common::allocator_block_size_option Struct Reference

#include <options.hpp>

Inheritance diagram for ityr::common::allocator_block_size_option:
Collaboration diagram for ityr::common::allocator_block_size_option:

Public Member Functions

 option (value_type val)
 
- Public Member Functions inherited from ityr::common::option< allocator_block_size_option, std::size_t >
 option (value_type val)
 
void print () const override
 
- Public Member Functions inherited from ityr::common::option_base
virtual ~option_base ()=default
 

Static Public Member Functions

static std::string name ()
 
static std::size_t default_value ()
 
- Static Public Member Functions inherited from ityr::common::option< allocator_block_size_option, std::size_t >
static value_type value ()
 
static void set (value_type val)
 
static void unset ()
 
- Static Public Member Functions inherited from ityr::common::singleton< T >
static auto & get ()
 
static bool initialized ()
 
template<typename... Args>
static void init (Args &&... args)
 
static void fini ()
 

Additional Inherited Members

- Public Types inherited from ityr::common::option< allocator_block_size_option, std::size_t >
using value_type = std::size_t
 
- Public Types inherited from ityr::common::singleton< T >
using instance_type = T
 
- Protected Attributes inherited from ityr::common::option< allocator_block_size_option, std::size_t >
value_type val_
 

Member Function Documentation

◆ default_value()

static std::size_t ityr::common::allocator_block_size_option::default_value ( )
inlinestatic

◆ name()

static std::string ityr::common::allocator_block_size_option::name ( )
inlinestatic

◆ option()

ityr::common::option< Derived, T >::option
inline

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