Changes between Version 1 and Version 2 of doc/useless-rants
- Timestamp:
- Jan 24, 2013, 6:30:31 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
doc/useless-rants
v1 v2 1 [[TOC]] 1 2 Catharsis for annoyances in life, ranging from infuriating idiocies to minor annoyances that could even have justifiable causes. 2 3 … … 10 11 11 12 Seriously. Why the fuck do you care about the name of my file. 13 14 === Visual Studio 2010 variadic macros === 15 16 {{{ 17 #!cpp 18 #define FOO(a, b, c, d, e, f, g, h, ...) h 19 #define COUNT(...) FOO(__VA_ARGS__, 7, 6, 5, 4, 3, 2, 1, 0) 20 21 int x = COUNT(0, 0, 0); 22 printf("This macro has %d arguments\n"), x); 23 }}} 24 25 Fuck you, Visual Studio, for printing 1 where every other compiler on the planet can count to 3.