libpressio 0.93.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
print_elements_helper< CharT, Traits > Struct Template Reference

#include <printers.h>

Public Member Functions

template<class T >
int operator() (T const *begin, T const *end)
 

Public Attributes

std::basic_ostream< CharT, Traits > & out
 

Detailed Description

template<class CharT = char, class Traits = std::char_traits<CharT>>
struct print_elements_helper< CharT, Traits >

print the elements of an iterable container

Member Function Documentation

◆ operator()()

template<class CharT = char, class Traits = std::char_traits<CharT>>
template<class T >
int print_elements_helper< CharT, Traits >::operator() ( T const *  begin,
T const *  end 
)
inline

prints the underlying container

Member Data Documentation

◆ out

template<class CharT = char, class Traits = std::char_traits<CharT>>
std::basic_ostream<CharT, Traits>& print_elements_helper< CharT, Traits >::out

the stream to output to


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