SyTen
shift_args.h File Reference

Functions to shift arguments into an ostream. More...

+ Include dependency graph for shift_args.h:
+ This graph shows which files directly or indirectly include this file:

Classes

struct  syten::NoNew
 Used by the logging infrastructure to indicate that no newline should be printed after the output from the stream. More...
 

Namespaces

namespace  syten
 Syten namespace.
 

Functions

std::ostreamsyten::operator<< (std::ostream &out, NoNew)
 NoNew has an empty result when streamed to an ostream. More...
 
bool syten::shiftArgs (std::ostream &)
 Sequentially shift all arguments into a stream. More...
 
bool syten::shiftArgs (std::ostream &, NoNew)
 Sequentially shift all arguments into a stream. More...
 
template<typename First , std::enable_if_t<!std::is_invocable_v< First >, int > = 0>
bool syten::shiftArgs (std::ostream &out, First &&a)
 Sequentially shift all arguments into a stream. More...
 
template<typename First , typename... Rest>
bool syten::shiftArgs (std::ostream &out, First &&a, Rest &&... b)
 Sequentially shift all arguments into a stream. More...
 

Detailed Description

Functions to shift arguments into an ostream.