aGrUM  0.16.0
std::__auxiliary_print_tuple< N > Struct Template Reference

#include <utils_misc_tpl.h>

Static Public Member Functions

template<typename... T>
static std::enable_if<(N< sizeof...(T)) >::type print (std::ostream &os, const std::tuple< T... > &t)
 
template<typename... T>
static std::enable_if< !(N< sizeof...(T)) >::type print (std::ostream &, const std::tuple< T... > &)
 

Detailed Description

template<size_t N>
struct std::__auxiliary_print_tuple< N >

Definition at line 65 of file utils_misc_tpl.h.

Member Function Documentation

◆ print() [1/2]

template<size_t N>
template<typename... T>
static std::enable_if< (N < sizeof...(T)) >::type std::__auxiliary_print_tuple< N >::print ( std::ostream &  os,
const std::tuple< T... > &  t 
)
inlinestatic

Definition at line 68 of file utils_misc_tpl.h.

Referenced by std::operator<<().

68  {
69  char quote =
70  (std::is_convertible< decltype(std::get< N >(t)), std::string >::value)
71  ? '"'
72  : 0;
73  os << ", " << quote << std::get< N >(t) << quote;
75  }
static std::enable_if<(N< sizeof...(T)) >::type print(std::ostream &os, const std::tuple< T... > &t)
+ Here is the caller graph for this function:

◆ print() [2/2]

template<size_t N>
template<typename... T>
static std::enable_if< !(N < sizeof...(T)) >::type std::__auxiliary_print_tuple< N >::print ( std::ostream &  ,
const std::tuple< T... > &   
)
inlinestatic

Definition at line 78 of file utils_misc_tpl.h.

78 {}

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