C++ Library Extensions 2022.12.09
To help learn modern C++ programming
tutorial::static_loop< StartIndex, EndIndex > Struct Template Reference

Static Public Member Functions

template<typename TupleType >
static void print_tuple (std::ostream &os, const TupleType &tpl)
 
template<typename VariantType >
static void print_variant (std::ostream &os, const VariantType &vrt)
 

Detailed Description

template<size_t StartIndex, size_t EndIndex>
struct tutorial::static_loop< StartIndex, EndIndex >

Definition at line 58 of file 33-variant_tuple_output.cpp.

Member Function Documentation

◆ print_tuple()

template<size_t StartIndex, size_t EndIndex>
template<typename TupleType >
static void tutorial::static_loop< StartIndex, EndIndex >::print_tuple ( std::ostream &  os,
const TupleType &  tpl 
)
inlinestatic

Definition at line 61 of file 33-variant_tuple_output.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ print_variant()

template<size_t StartIndex, size_t EndIndex>
template<typename VariantType >
static void tutorial::static_loop< StartIndex, EndIndex >::print_variant ( std::ostream &  os,
const VariantType &  vrt 
)
inlinestatic

Definition at line 94 of file 33-variant_tuple_output.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

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