dump

dump is a descriptor that produces a human readable description of an object on a stream.

template <class T>
void dump(std::ostream* out, const string& desc, T& arg);