Messages in this thread | | | Date | Wed, 26 Apr 2006 23:05:43 +0200 | From | Martin Mares <> | Subject | Re: C++ pushback |
| |
> C++ has how many additional reserved words? I believe the list is delete, > friend, private, protected, public, template, throw, try, and catch. > Renaming every symbol that currently has a name from this list to the > corresponding name with a trailing underscore is an easily understood > consistent change.
... which, for the point of view of people developing most parts of the kernel (and thus not caring about C++ much) just makes the names ugly. When some struct member describes a device class the device belongs to, calling it anything else than "class" is silly.
But yes, the C++ modules can redefine such things by macros when including kernel headers.
Have a nice fortnight -- Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth Linux vs. Windows is a no-WIN situation. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |