cppx-core
Functions
cppx::debug Namespace Reference

Functions

 CPPX_USE_STD (cerr, cout, clog, endl, ostream, string_view)
 
auto put_stderr_line (const string_view s) noexcept -> Truth
 
auto put_line (ostream &stream, const string_view s) noexcept -> Truth
 
auto put_line (const string_view s) noexcept -> Truth
 
auto put_block_to (ostream &stream, const string_view bullet, const string_view s) -> Truth
 
auto put_info_block (const string_view s, ostream &stream=clog) -> Truth
 
auto put_error_block (const string_view s, ostream &stream=cerr) -> Truth
 

Function Documentation

◆ CPPX_USE_STD()

cppx::debug::CPPX_USE_STD ( cerr  ,
cout  ,
clog  ,
endl  ,
ostream  ,
string_view   
)

◆ put_block_to()

auto cppx::debug::put_block_to ( ostream &  stream,
const string_view  bullet,
const string_view  s 
) -> Truth
inline

Definition at line 53 of file debugging-output.hpp.

◆ put_error_block()

auto cppx::debug::put_error_block ( const string_view  s,
ostream &  stream = cerr 
) -> Truth
inline

Definition at line 68 of file debugging-output.hpp.

◆ put_info_block()

auto cppx::debug::put_info_block ( const string_view  s,
ostream &  stream = clog 
) -> Truth
inline

Definition at line 61 of file debugging-output.hpp.

◆ put_line() [1/2]

auto cppx::debug::put_line ( ostream &  stream,
const string_view  s 
) -> Truth
inlinenoexcept

Definition at line 27 of file debugging-output.hpp.

◆ put_line() [2/2]

auto cppx::debug::put_line ( const string_view  s) -> Truth
inlinenoexcept

Definition at line 49 of file debugging-output.hpp.

◆ put_stderr_line()

auto cppx::debug::put_stderr_line ( const string_view  s) -> Truth
inlinenoexcept

Definition at line 16 of file debugging-output.hpp.