repr 0.1
Reconstructable string representations and more
Loading...
Searching...
No Matches
librepr::Reflect< T[N]> Struct Template Reference

#include <array.h>

Inheritance diagram for librepr::Reflect< T[N]>:
[legend]
Collaboration diagram for librepr::Reflect< T[N]>:
[legend]

Public Types

using type = T[N]
 
using element_type = T
 

Static Public Member Functions

template<typename V >
static void visit (V &&visitor, T(&obj)[N])
 
template<typename V >
static void visit (V &&visitor)
 
static auto type_name ()
 

Static Public Attributes

static constexpr auto extent = N
 
static constexpr bool can_descend = true
 
static constexpr bool iterable = true
 

Member Typedef Documentation

◆ element_type

template<typename T , std::size_t N>
using librepr::Reflect< T[N]>::element_type = T

◆ type

template<typename T , std::size_t N>
using librepr::Reflect< T[N]>::type = T[N]

Member Function Documentation

◆ type_name()

static auto librepr::category::Type< T >::type_name ( )
inlinestaticinherited

◆ visit() [1/2]

template<typename T , std::size_t N>
template<typename V >
static void librepr::Reflect< T[N]>::visit ( V &&  visitor)
inlinestatic

◆ visit() [2/2]

template<typename T , std::size_t N>
template<typename V >
static void librepr::Reflect< T[N]>::visit ( V &&  visitor,
T(&)  obj[N] 
)
inlinestatic

Member Data Documentation

◆ can_descend

template<typename T , std::size_t N>
constexpr bool librepr::Reflect< T[N]>::can_descend = true
staticconstexpr

◆ extent

template<typename T , std::size_t N>
constexpr auto librepr::Reflect< T[N]>::extent = N
staticconstexpr

◆ iterable

template<typename T , std::size_t N>
constexpr bool librepr::Reflect< T[N]>::iterable = true
staticconstexpr

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