/cxx-print

Python-like C++ print function

Primary LanguageC++

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