10 #ifndef __NODAMUSHIMPLE_SVD_VALUE_IMPLE_HPP__ 11 #define __NODAMUSHIMPLE_SVD_VALUE_IMPLE_HPP__ 23 template<
char... name>
27 s <<
"empty_value_access_error: ";
29 std::string text = s.str();
52 template<
typename T,
typename PTR>
60 using value_type_t = typename ::nodamushi::svd::vattr_unwrap<T>::type;
65 template<
typename T,
bool attribute,
bool required,
char... name>
68 # if __cplusplus >= 201703 71 const char arr[] = {name...,
'\0'};
72 return std::string(arr);
75 template<
typename T,
bool attribute,
bool required,
char... name>
80 template<
typename T,
bool attribute,
bool required,
char... name>
86 template<
typename T,
bool attribute,
bool required,
char... name>
96 #endif // __NODAMUSHIMPLE_SVD_VALUE_IMPLE_HPP__ boxvec. vector<pointer<X>>
typename ::nodamushi::svd::vattr_unwrap< T >::type value_type_t
std::ostream & print_const_string(std::ostream &o)
empty_value_access_error no_value_error()
box.std::unique_ptr wrapper
constexpr const_string get_const_string()
std::string get_name() const noexcept
#define NODAMUSHI_CONSTEXPR_STRING
void clear() noexcept
clear this object. After calling this method,this object status will be empty.
access to the empty value object.
value class, empty_value_access_error class
const type & get() const
get value