aGrUM  0.14.2
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 62 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 65 of file utils_misc_tpl.h.

Referenced by std::operator<<().

65  {
66  char quote =
67  (std::is_convertible< decltype(std::get< N >(t)), std::string >::value)
68  ? '"'
69  : 0;
70  os << ", " << quote << std::get< N >(t) << quote;
72  }
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 75 of file utils_misc_tpl.h.

75 {}

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