utx::print is a very simple and convenient cpp template function to print many different values without worrying about their types.
template <utx::kspt::printable ... R> void utx::print(const R & ... r);
#include <utxcpp/core.hpp>
![]() |
Note |
---|---|
|
#include <utxcpp/core.hpp> int main() { utx::print(true, ':', 3.14, "kg", "waters"); // With newline end. }
Last revised: June 13, 2022 at 03:08:21 GMT |