gcc.info: C++ Extensions
Go forward to Gcov
Go backward to C Extensions
Go up to Top
Go to the top op gcc
Extensions to the C++ Language
The GNU compiler provides these extensions to the C++ language (and
you can also use most of the C language extensions in your C++
programs). If you want to write code that checks whether these
features are available, you can test for the GNU compiler the same way
as for C programs: check for a predefined macro `__GNUC__'. You can
also use `__GNUG__' to test specifically for GNU C++ (*note Standard
Predefined Macros: (cpp.info)Standard Predefined.).
Created Wed Sep 1 16:42:20 2004 on bee with info_to_html version 0.9.6.