Appendix B. C++ Keywords

Keywords are reserved to the compiler for use by the language. You cannot define classes, variables, or functions that have these keywords as their names.

asm                      false                   signedauto                     final                   sizeofbool                     float                   staticbreak                    for                     static_assertcase                     friend                  static_castcatch                    goto                    structchar                     if                      switchclass                    inline                  templateconst                    int                     thisconstexpr                long                    throwconst_cast               long long int           true ...

Get Sams Teach Yourself C++ in One Hour a Day, Seventh Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.