What is most dangerous in C++?
-
-
wait till you see decltype(((void)expr1, (void)expr2, T())) as the return type of a function template (which returns T) as a SFINAE trick to make sure expr1 and expr2 are valid expressions for a particular would-be specialization
-
Does that actually work? Sounds nice actually.

- 3 more replies
New conversation -
-
-
I've seen uses of this in the wild for constructing tuples and other sequence-like objects, including in a few Boost libraries.
-
So, should I be ashamed of this general purpose matrix initializer? :-opic.twitter.com/uGBkupA5Kh
- 3 more replies
New conversation -
-
-
Personally I like the approach C++ has taken in that respect. Yes overloading the comma operator is almost always bad, but programmers that make bad decisions are going to make bad decisions regardless. If there's a small number of valid use cases, I'd prefer keeping option open
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
"now"?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.