Re:Living with Microsoft C++ Compiler Bugs and Ambiguities
by misnome on Tuesday October 13, 2015 @10:24PM
(#10384672)
Awesome; I didn't know you could use macros to define REM as a comment in Visual C++!
[ Parent
| on HN ]
Re:Living with Microsoft C++ Compiler Bugs and Ambiguities
by marvy on Tuesday October 13, 2015 @11:19PM
(#10384823)
Me neither! Here's another cool macro trick:
http://journal.stuffwithstuff.com/2012/01/24/higher-order-ma...
Re:Living with Microsoft C++ Compiler Bugs and Ambiguities
by voltagex_ on Wednesday October 14, 2015 @01:24AM
(#10385184)
That's worthy of its own article.
Re:Living with Microsoft C++ Compiler Bugs and Ambiguities
by Kristine1975 on Wednesday October 14, 2015 @03:17AM
(#10385377)
You haven't lived until you've implemented a compile-time counter in C++: http://b.atch.se/posts/constexpr-counter/ (which doesn't rely on compiler bugs)