gcc: C++ Extensions

1 
1 7 Extensions to the C++ Language
1 ********************************
1 
1 The GNU compiler provides these extensions to the C++ language (and you
1 can also use most of the C language extensions in your C++ programs).
1 If you want to write code that checks whether these features are
1 available, you can test for the GNU compiler the same way as for C
1 programs: check for a predefined macro '__GNUC__'.  You can also use
11 '__GNUG__' to test specifically for GNU C++ (⇒Predefined Macros
 (cpp)Common Predefined Macros.).
1 

Menu