C Plus Plus Keywords (CloudMonk.io)
C Plus Plus keywords - CPP Keywords
#redirect C Plus Plus keywords
Reserved keywords - Reserved Words
Bash Keywords, C Keywords - https://en.cppreference.com/w/c/keyword, C Sharp Keywords - https://en.cppreference.com/w/cpp/keyword, Clojure Keywords, COBOL Keywords, Dart Keywords, Elixir Keywords, Erlang Keywords, F Sharp Keywords, Fortran Keywords, Groovy Keywords, Java Keywords, JavaScript Keywords, Julia Keywords, Kotlin Keywords, PowerShell Keywords, Python Keywords, Ruby Keywords, R Keywords, Scala Keywords, Swift Keywords, TypeScript Keywords
https://en.cppreference.com/w/cpp/keyword
From cppreference.com
C++ keywords
C++ language Keywords
This is a list of CPP reserved keywords in CPP | C++. Since they are used by the CPP language, these CPP keywords are not available for re-definition or CPP overloading. As an exception, they are not considered reserved in CPP attribute-tokens. (since CPP 11 | [[CPP 11 | C++11)
* alignas (CPP 11 | C++11)
* alignof (CPP 11 | C++11)
* and
* and_eq
* asm
* atomic_cancel (TM TS)
* atomic_commit (TM TS)
* atomic_noexcept (TM TS)
* auto (1) (2) (4)
* bitand
* bitor
* bool
* break
* case
* catch
* char
* char8_t (CPP 20 | C++20)
* char16_t (CPP 11 | C++11)
* char32_t (CPP 11 | C++11)
* class (1)
* compl
* concept (CPP 20 | C++20)
* const
* consteval (CPP 20 | C++20)
* constexpr (CPP 11 | C++11)
* constinit (CPP 20 | C++20)
* const_cast
* continue
* co_await (CPP 20 | C++20)
* co_return (CPP 20 | C++20)
* co_yield (CPP 20 | C++20)
* decltype (CPP 11 | C++11)
* default (1)
* delete (1)
* do
* double
* dynamic_cast
* else
* enum (1)
* explicit
* export (1) (3)
* extern (1)
* false
* float
* for (1)
* friend
* goto
* if (2) (4)
* inline (1)
* int
* long
* mutable (1)
* namespace
* new
* noexcept (CPP 11 | C++11)
* not
* not_eq
* nullptr (CPP 11 | C++11)
* operator (4)
* or
* or_eq
* private (3)
* protected
* public
* reflexpr (reflection TS)
* register (2)
* reinterpret_cast
* requires (CPP 20 | C++20)
* return
* short
* signed
* sizeof (1)
* static
* static_assert (CPP 11 | C++11)
* static_cast
* struct (1)
* switch
* synchronized (TM TS)
* template
* this (4)
* thread_local (CPP 11 | C++11)
* throw
* true
* try
* typedef
* typeid
* typename
* union
* unsigned
* using (1)
* virtual
* void
* volatile
* wchar_t
* while
* xor
* xor_eq
(1) — meaning changed or new meaning added in CPP 11 | C++11.
(2) — meaning changed or new meaning added in CPP 17 | C++17.
(3) — meaning changed or new meaning added in CPP 20 | C++20.
(4) — new meaning added in CPP 23 | C++23.
Note that and, bitor, or, xor, compl , bitand , and_eq , or_eq , xor_eq , not , and not_eq (along with the digraphs <%, %>, <:, :>, %:, and %:%:) provide an alternative way to represent standard CPP tokens. These CPP keywords are also considered CPP reserved in CPP attribute-tokens, but some CPP implementations handle them the same as the others. (since CPP 11 | C++11)
In addition to CPP keywords, there are CPP identifiers with special meaning, which may be used as names of CPP objects or CPP functions, but have special meaning in certain contexts.
* final (CPP 11 | C++11)
* override (CPP 11 | C++11)
* transaction_safe (TM TS)
* transaction_safe_dynamic (TM TS)
* import (CPP 20 | C++20)
* module (CPP 20 | C++20)
Also, all CPP identifiers that contain a CPP double underscore __ in any position and each identifier that begins with an underscore followed by an uppercase letter is always reserved and all identifiers that begin with an underscore are reserved for use as CPP names in the CPP global namespace. See CPP identifiers for more details.
The CPP namespace std is used to place names of the standard CPP library | CPP Standard Library. See CPP Extending namespace std for the rules about adding names to it.
The name CPP posix is reserved for a future CPP top-level namespace. The behavior is undefined if a program declares or defines anything in that namespace.
(since CPP 11 | C++11)
The following CPP tokens are recognized by the CPP preprocessor when in context of a CPP preprocessor directive:
* if
* elif
* else
* endif
* ifdef
* ifndef
* elifdef (C++23)
* elifndef (C++23)
* define
* undef
* include
* line
* error
* warning (C++23)
* pragma
* defined
* __has_include (CPP 17 | C++17)]]
* __has_cpp_attribute (CPP 20 | C++20)
* export (CPP 20 | C++20)
* import (CPP 20 | C++20)
* module (CPP 20 | C++20)
The following CPP tokens are recognized by the CPP preprocessor outside the context of a CPP preprocessor directive:
_Pragma]] (CPP 11 | C++11)
See also:
C documentation for C keywords
C Plus Plus | C++: Effective CPP | Effective C++, C Plus Plus Best Practices | C++ Best Practices, CPP Core Guidelines (CG) by Bjarne Stroustrup and Herb Sutter | C++ Core Guidelines (CG) by Bjarne Stroustrup and Herb Sutter, C Plus Plus Fundamentals | C++ Fundamentals, C Plus Plus Inventor | C++ Inventor - C Plus Plus Language Designer | C++ Language Designer: Bjarne Stroustrup in 1985; C Plus Plus Keywords | C++ Keywords, CPP Built-In Data Types | C++ Built-In Data Types, C Plus Plus Data Structures | C++ Data Structures (CPP Containers) - C Plus Plus Algorithms | C++ Algorithms, C Plus Plus Syntax | C++ Syntax, C Plus Plus OOP | C++ OOP - C Plus Plus Design Patterns | C++ Design Patterns, Clean C Plus Plus | Clean C++ - C Plus Plus Style Guide | C++ Style Guide - C Plus Plus BDD | C++ BDD, C Plus Plus Standards | C++ Standards (C Plus Plus 23 | C++ 23, C Plus Plus 20 | C++ 20, C Plus Plus 17 | C++ 17, C Plus Plus 14 | C++ 14, C Plus Plus 11 | C++ 11, C Plus Plus 03 | C++ 03, C Plus Plus 98 | C++ 98), Bjarne Stroustrup's C Plus Plus Glossary | Bjarne Stroustrup's C++ Glossary - Glossaire de CCP - French, CppReference.com, CPlusPlus.com, ISOcpp.org, C Plus Plus Compilers | C++ Compilers (Compiler Explorer, MinGW), C Plus Plus IDEs | C++ IDEs, C Plus Plus Development Tools | C++ Development Tools, C Plus Plus Linter | C++ Linter, C Plus Plus Debugging | C++ Debugging, C Plus Plus Modules | C++ Modules (C Plus Plus 20 | C++20), C Plus Plus Packages | C++ Packages, C Plus Plus Package Manager | C++ Package Manager (Conan - the C/C Plus Plus Package Manager | Conan - the C/C++ Package Manager), C Plus Plus Standard Library | C++ Standard Library, C Plus Plus Libraries | C++ Libraries, C Plus Plus Frameworks | C++ Frameworks, C Plus Plus DevOps | C++ DevOps - C Plus Plus SRE | C++ SRE, C Plus Plus CI/CD | C++ CI/CD (C Plus Plus Build Pipeline | C++ Build Pipeline), C Plus Plus Data Science | C++ Data Science - C Plus Plus DataOps | C++ DataOps, C Plus Plus Machine Learning | C++ Machine Learning, C Plus Plus Deep Learning | C++ Deep Learning, Functional C Plus Plus | Functional C++, C Plus Plus Concurrency | C++ Concurrency, C Plus Plus History | C++ History, C Plus Plus Topics | C++ Topics, C Plus Plus Bibliography | C++ Bibliography, Manning CPP Series | Manning C++ Series, C Plus Plus Courses | C++ Courses, CppCon, C Plus Plus Research | C++ Research, C Plus Plus GitHub | C++ GitHub, Written in C Plus Plus | Written in C++, C Plus Plus Popularity | C++ Popularity, C Plus Plus Awesome | C++ Awesome , C Plus Plus Versions | C++ Versions. (navbar_cplusplus -- see also navbar_cpp_containers, navbar_cppcon, navbar_cpp_core_guidelines, navbar_cpp23, navbar_cpp20, navbar_cpp17, navbar_cpp14, navbar_cpp11)
Reserved Keywords: (Also called: Language Keywords, Reserved Keyword, Reserved Word, Keywords, Reserved Identifier, Reserved Identifiers) Ada Keywords, ALGOL 68 Keywords, Angular Keywords, Android Keywords, Apple iOS Keywords, ARM Assembly Keywords, Assembly Keywords, AWK Keywords, Bash Keywords, BASIC Keywords, C Keywords (https://en.cppreference.com/w/c/keyword), C Sharp Keywords | C# Keywords, dot NET Keywords | .NET Keywords, C plus plus Keywords | C++ Keywords (https://en.cppreference.com/w/cpp/keyword), Clojure Keywords, COBOL Keywords, Dart Keywords, Delphi Keywords, Django Keywords, Elixir Keywords, Erlang Keywords, F Sharp Keywords, Fortran Keywords, Flask Keywords, Golang Keywords, Groovy Keywords, Haskell Keywords, Jakarta EE Keywords, Java Keywords, JavaScript Keywords, JCL Keywords, Julia Keywords, Kotlin Keywords, Lisp Keywords (Common Lisp Keywords), Lua Keywords, MATHLAB Keywords, Objective-C Keywords, OCaml Keywords, Pascal Keywords, Perl Keywords, PHP Keywords, PL/I Keywords, PowerShell Keywords, Python Keywords, Quarkus Keywords, R Language Keywords, React.js Keywords, Rexx Keywords, RPG Keywords, Ruby Keywords, Rust Keywords, Scala Keywords, Spring Keywords, SQL Keywords, Swift Keywords, Transact-SQL Keywords, TypeScript Keywords, Visual Basic Keywords, Vue.js Keywords, X86 Assembly Keywords, X86-64 Assembly Keywords. (navbar_reserved_keywords - see also navbar_cpp_keywords)
CPP keywords | C++ Reserved Words: alignas, alignof, and, and_eq, asm, atomic_cancel, atomic_commit, atomic_noexcept, auto, bitand, bitor, bool, break, case, catch, char, char8_t, char16_t, char32_t, class, compl, concept, const, consteval, constexpr, constinit, const_cast, continue, co_await, co_return, co_yield, decltype, default, delete, do, double, dynamic_cast, else, enum, explicit, export, extern, false, float, for, friend, goto, if, inline, int, long, mutable, namespace, new, noexcept, not, not_eq, nullptr, operator, or, or_eq, private , protected, public, reflexpr, register, reinterpret_cast, requires, return, short, signed, sizeof, static, static_assert, static_cast, struct, switch, synchronized, template, this, thread_local, throw, true, try, typedef, typeid, typename, union, unsigned, using, virtual, void, volatile, wchar_t, while, xor, xor_eq. (navbar_cpp_keywords - see also navbar_reserved_keywords)
----
Cloud Monk is Retired (impermanence | for now). Buddha with you. Copyright | © Beginningless Time - Present Moment - Three Times: The Buddhas or Fair Use. Disclaimers
SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.
----