Skip to content

Sanceilaks/cxx-print

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

built with Codeium

Python-like C++ print function

An a simple C++ analog of python print() function. Usage:

    vptr::print("First", "Second");
    // stdout => "First Second\n"

Or u can use additional parameters:

    std::ostringstream out;
    vptr::print("First", "Second", vptr::Separator{ "_" }, vptr::EndLine{ "\n____" }, vptr::Output{ out });
    // out => First_Second\n____

Written using templates and compile-time expressions

Releases

No releases published

Packages

No packages published