26 #ifndef ioutils_pout_hpp
27 #define ioutils_pout_hpp
31 #include "../mxlib.hpp"
38 template<
char space,
bool flush,
char eol>
41 if(eol) std::cout << eol;
42 if(flush) std::cout.flush();
81 template<
char space=
' ',
bool flush=
true,
char eol=
'\n',
typename valT,
typename... valTs>
83 const valTs&... values
86 static const unsigned short int nargs =
sizeof...(valTs);
90 if(nargs > 0) std::cout << space;
92 pout<space,flush,eol>(values...);
void pout(valT value, const valTs &... values)
A simple formatted output function.