Prints values and types during compilation
Compile-Time Printer Compile-Time Printer prints values and types at compile-time in C++. Teaser test.cpp compile-time-printer — make test.cpp #include template constexpr auto func(int i) { // Formatted output. ctp::printf(“Hello {}!n”, ctp::type{I}); // Standardized output. ctp::print(I + i, sizeof(I)); return true; } constexpr
Read more