Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 523 Bytes

README.md

File metadata and controls

17 lines (15 loc) · 523 Bytes

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