Print an object to an ostream using an arbitrary method of that object. More...
Print an object to an ostream using an arbitrary method of that object.
This utility can be used to print an object to a debug stream without using the normal
operator<< of that object (if any exists at all). The purpose is to allow the printing of objects to debug streams in a different way then when you'd normally print them to say
The object (see example below) must have the signature:
this will write object to the debug stream by calling the method arbitrary_method_name.