Logo

Programming-Idioms

  • PHP

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...
< >
花大喵