Hacker News new | ask | show | jobs
by layer8 813 days ago
You can write operator<< as a free (non-member) function yourself for classes that don’t implement it. Furthermore, it’s not necessarily the same output that you want for debugging.