411 REFERENCE · Wikibooks
C++ Language/Std/Iostreams/StreamingCustomTypes
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
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