openMSX
Classes | Typedefs | Functions
detail Namespace Reference

Classes

struct  calculate_byte_size
 
struct  calculate_byte_size< ElementType, dynamic_extent >
 
struct  has_size_and_data
 
struct  has_size_and_data< T, std::void_t< decltype(std::size(std::declval< T >())), decltype(std::data(std::declval< T >()))> >
 
struct  is_complete
 
struct  is_complete< T, decltype(sizeof(T))>
 
struct  is_container
 
struct  is_container_element_type_compatible
 
struct  is_container_element_type_compatible< T, E, std::void_t< decltype(std::data(std::declval< T >()))> >
 
struct  is_span
 
struct  is_span< span< T, S > >
 
struct  is_std_array
 
struct  is_std_array< std::array< T, N > >
 
class  Joiner
 
struct  span_storage
 
struct  span_storage< E, dynamic_extent >
 

Typedefs

template<typename T , typename Iterator >
using ToVectorType = std::conditional_t< std::is_same_v< T, void >, typename std::iterator_traits< Iterator >::value_type, T >
 

Functions

size_t sum_of_sizes ()
 
template<typename Range , typename... Tail>
size_t sum_of_sizes (const Range &r, Tail &&... tail)
 
template<typename Result >
void append (Result &)
 
template<typename Result , typename Range , typename... Tail>
void append (Result &x, Range &&y, Tail &&... tail)
 
template<typename Result , typename T2 , typename... Tail>
void append (Result &x, std::vector< T2 > &&y, Tail &&... tail)
 

Typedef Documentation

◆ ToVectorType

template<typename T , typename Iterator >
using detail::ToVectorType = typedef std::conditional_t< std::is_same_v<T, void>, typename std::iterator_traits<Iterator>::value_type, T>

Definition at line 302 of file stl.hh.

Function Documentation

◆ append() [1/3]

template<typename Result >
void detail::append ( Result &  )

◆ append() [2/3]

template<typename Result , typename Range , typename... Tail>
void detail::append ( Result &  x,
Range &&  y,
Tail &&...  tail 
)

Definition at line 346 of file stl.hh.

References append().

◆ append() [3/3]

template<typename Result , typename T2 , typename... Tail>
void detail::append ( Result &  x,
std::vector< T2 > &&  y,
Tail &&...  tail 
)

Definition at line 367 of file stl.hh.

References append().

◆ sum_of_sizes() [1/2]

size_t detail::sum_of_sizes ( )
inline

Definition at line 328 of file stl.hh.

Referenced by append().

◆ sum_of_sizes() [2/2]

template<typename Range , typename... Tail>
size_t detail::sum_of_sizes ( const Range &  r,
Tail &&...  tail 
)

Definition at line 333 of file stl.hh.

References utf8::distance().