Re:A nice, little known C feature: Static array indices in p...
by mikeash on Tuesday February 19, 2013 @11:15AM
(#5245032)
Just adding __ keywords is not the approach I described, though. I described adding __keywords, and adding a standard header that redefines them into non-underscore keywords. This avoids breaking old code (it won't include the header) while allowing new code to use nicer keywords, if it wishes.
[ Parent
| on HN ]
Re:A nice, little known C feature: Static array indices in p...
by gurkendoktor on Thursday February 21, 2013 @04:35AM
(#5256440)
Right - I was just trying to provide context :) If there is anything in the Managed C++ -> CLI/C++ transition that is better than the ISO C approach, it is maybe the contextual keywords in CLI/C++ - something that can't be achieved with #define.