ptc-print
A C++17 header-only library for custom printing to the output stream (inspired by the Python print function).
Classes | Enumerations | Variables
ptc Namespace Reference

Classes

struct  Print
 Class used to construct the print function. More...
 

Enumerations

enum class  mode { str }
 Enum class used to set up the "str" mode to pass a string with the content of the print function. More...
 
enum class  ANSI { first , generic }
 Enum class used to switch among ANSI escape configurations in the "is_escape" function. More...
 

Variables

Print< char > print
 
Print< wchar_t > wprint
 
Print< char16_t > print16
 
Print< char32_t > print32
 

Enumeration Type Documentation

◆ ANSI

enum ptc::ANSI
strong

Enum class used to switch among ANSI escape configurations in the "is_escape" function.

Enumerator
first 
generic 

◆ mode

enum ptc::mode
strong

Enum class used to set up the "str" mode to pass a string with the content of the print function.

Enumerator
str 

Variable Documentation

◆ print

Print<char> ptc::print
inline

◆ print16

Print<char16_t> ptc::print16
inline

◆ print32

Print<char32_t> ptc::print32
inline

◆ wprint

Print<wchar_t> ptc::wprint
inline