Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!

Idiom #245 Print value of custom type

Print the value of object x having custom type T, for log or debug.

#include <iostream>
std::cout << x;

New implementation...
< >
花大喵