4 ms·
> look at the docs to see if the ostream operator is implemented for the class Or give it a go and see if the ide/compiler complains.
by GFK_of_xmaspast 11y ago
> look at the docs to see if the ostream operator is implemented for the class
Or give it a go and see if the ide/compiler complains.
- simoncion 11y agoIt has been so long that that bit of information had dropped out of my brain. I went to verify, and -obviously- there is no auto-conversion for instances of a non-trivial class. Thanks for reminding me of this. Kudos!