News for hackers. Stuff that matters.
Re:The Dark Side of C++ (2007) by dzorz on Saturday May 14, 2011 @09:37PM (#2549067)
Actually you can't overload && although you can overload &.
Re:The Dark Side of C++ (2007) by beagle3 on Sunday May 15, 2011 @04:21AM (#2549590)
You can overload &&. You just can't make it short circuit like the default is.
Re:The Dark Side of C++ (2007) by dzorz on Sunday May 15, 2011 @06:59AM (#2549744)
Wow, that is amazing. I honestly never tried that and assumed (because of short circuiting) that it can't be overloaded.