visit_struct::traits::visitable< T, typename std::enable_if< std::is_same< typename T::Visit_Struct_Visitable_Structure_Tag__, ::visit_struct::detail::intrusive_tag >::value >::type >
2 minute read
visit_struct::traits::visitable< T, typename std::enable_if< std::is_same< typename T::Visit_Struct_Visitable_Structure_Tag__, ::visit_struct::detail::intrusive_tag >::value >::type >
Public Functions
Name | |
---|---|
template <typename V ,typename S > VISIT_STRUCT_CXX14_CONSTEXPR void |
apply(V && v, S && s) |
template <typename V ,typename S1 ,typename S2 > VISIT_STRUCT_CXX14_CONSTEXPR void |
apply(V && v, S1 && s1, S2 && s2) |
template <typename V > VISIT_STRUCT_CXX14_CONSTEXPR void |
visit_pointers(V && v) |
template <typename V > VISIT_STRUCT_CXX14_CONSTEXPR void |
visit_types(V && v) |
template <typename V > VISIT_STRUCT_CXX14_CONSTEXPR void |
visit_accessors(V && v) |
template <int idx> VISIT_STRUCT_CONSTEXPR auto |
get_pointer(std::integral_constant< int, idx > ) |
template <int idx> VISIT_STRUCT_CONSTEXPR auto |
get_accessor(std::integral_constant< int, idx > ) |
template <int idx,typename S > VISIT_STRUCT_CONSTEXPR auto |
get_value(std::integral_constant< int, idx > tag, S && s) |
template <int idx> VISIT_STRUCT_CONSTEXPR auto |
get_name(std::integral_constant< int, idx > ) |
template <int idx> auto |
type_at(std::integral_constant< int, idx > ) |
decltype(T::Visit_Struct_Get_Name__()) VISIT_STRUCT_CONSTEXPR | get_name() |
Public Attributes
Name | |
---|---|
VISIT_STRUCT_CONSTEXPR const std::size_t | field_count |
VISIT_STRUCT_CONSTEXPR const bool | value |
Detailed Description
template <typename T >
struct visit_struct::traits::visitable< T, typename std::enable_if< std::is_same< typename T::Visit_Struct_Visitable_Structure_Tag__, ::visit_struct::detail::intrusive_tag >::value >::type >;
Public Functions Documentation
function apply
template <typename V ,
typename S >
static inline VISIT_STRUCT_CXX14_CONSTEXPR void apply(
V && v,
S && s
)
function apply
template <typename V ,
typename S1 ,
typename S2 >
static inline VISIT_STRUCT_CXX14_CONSTEXPR void apply(
V && v,
S1 && s1,
S2 && s2
)
function visit_pointers
template <typename V >
static inline VISIT_STRUCT_CXX14_CONSTEXPR void visit_pointers(
V && v
)
function visit_types
template <typename V >
static inline VISIT_STRUCT_CXX14_CONSTEXPR void visit_types(
V && v
)
function visit_accessors
template <typename V >
static inline VISIT_STRUCT_CXX14_CONSTEXPR void visit_accessors(
V && v
)
function get_pointer
template <int idx>
static inline VISIT_STRUCT_CONSTEXPR auto get_pointer(
std::integral_constant< int, idx >
)
function get_accessor
template <int idx>
static inline VISIT_STRUCT_CONSTEXPR auto get_accessor(
std::integral_constant< int, idx >
)
function get_value
template <int idx,
typename S >
static inline VISIT_STRUCT_CONSTEXPR auto get_value(
std::integral_constant< int, idx > tag,
S && s
)
function get_name
template <int idx>
static inline VISIT_STRUCT_CONSTEXPR auto get_name(
std::integral_constant< int, idx >
)
function type_at
template <int idx>
static auto type_at(
std::integral_constant< int, idx >
)
function get_name
static inline decltype(T::Visit_Struct_Get_Name__()) VISIT_STRUCT_CONSTEXPR get_name()
Public Attributes Documentation
variable field_count
static VISIT_STRUCT_CONSTEXPR const std::size_t field_count = T::Visit_Struct_Registered_Members_List__::size;
variable value
static VISIT_STRUCT_CONSTEXPR const bool value = true;
Updated on 2022-04-05 at 16:21:26 +0200