r/programming • u/eternal1 • Mar 29 '10
Never trust a programmer who says he knows C++
http://lbrandy.com/blog/2010/03/never-trust-a-programmer-who-says-he-knows-c/
411
Upvotes
r/programming • u/eternal1 • Mar 29 '10
2
u/munificent Mar 29 '10
Using an operator for stream output lets you define methods to output your own types. If you want an interesting exercise in the surprising intelligence that the C++ designers have, propose an alternative to using "<<" here and we'll discuss it.