C++ Language/Std/Iostreams/StreamingCustomTypes

To enable std::cout << oVar; where oVar has a custom type, you would need to implement an overload of the stream-operator operator<<().

Additional information about streaming custom types