News for hackers. Stuff that matters.
Re:Monadic lifting in C++ by adamnemecek on Monday March 10, 2014 @12:02AM (#7371237)
Correct but in order for an operator to be overloadable in C++, it must have a meaning in standard C++ as well. The comment was pointing out that it's surprising that >>= is an operator in standard C++.
Re:Monadic lifting in C++ by banachtarski on Monday March 10, 2014 @12:04AM (#7371244)
Oh my mistake, I actually use >>= and <<= frequently.