cppreference.com
Search
Log in / create account
Namespaces
Page
Discussion
Variants
Views
View
Edit
History
Actions
C++ keywords:
protected
From cppreference.com
<
cpp
|
keyword
C++
Language
Concepts
Utilities library
Strings library
Containers library
Algorithms library
Iterators library
Numerics library
Input/output library
Localizations library
Regular expressions library
(C++11)
Atomic operations library
(C++11)
Thread support library
(C++11)
C++ language
General topics
Preprocessor
Comments
Keywords
ASCII chart
Escape sequences
History of C++
Flow control
Conditional execution statements
if
statement
switch
statement
Iteration statements
for
loop
range-
for
loop
(C++11)
while
loop
do-while
loop
Jump statements
continue
statement
break
statement
goto
statement
return
statement
Functions
function declaration
lambda function declaration
function template
inline specifier
exception specifications
(deprecated)
noexcept specifier
(C++11)
Exceptions
throw expression
try-catch block
Namespaces
namespace declaration
namespace aliases
Types
fundamental types
compound types
enumeration types
union types
function types
decltype
specifier
(C++11)
Specifiers
cv specifiers
storage duration specifiers
constexpr specifier
(C++11)
auto specifier
(C++11)
alignas specifier
(C++11)
Literals
integer literals
character literals
floating-point literals
string literals
boolean literals
nullptr
(C++11)
user-defined
(C++11)
Expressions
value categories
order of evaluation
operators
operator precedence
alternative representations
Utilities
Types
typedef
declaration
type alias declaration
(C++11)
attributes
(C++11)
Casts
implicit conversions
const_cast
conversion
static_cast
conversion
dynamic_cast
conversion
reinterpret_cast
conversion
C-style and functional cast
Memory allocation
new
expression
delete
expression
Classes
class declaration
this
pointer
access specifiers
friend specifier
initializer lists
Class-specific function properties
virtual function
override specifier
(C++11)
final specifier
(C++11)
explicit
(C++11)
static
Special member functions
default constructor
copy constructor
move constructor
(C++11)
copy assignment
move assignment
(C++11)
destructor
Templates
class template
function template
template specialization
parameter packs
(C++11)
Miscellaneous
Inline assembly
C++ keywords
alignas
alignof
and
and_eq
asm
auto
bitand
bitor
bool
break
case
catch
char
char16_t
char32_t
class
compl
const
constexpr
const_cast
continue
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
register
reinterpret_cast
return
short
signed
sizeof
static
static_assert
static_cast
struct
switch
template
this
thread_local
throw
true
try
typedef
typeid
typename
union
unsigned
using
virtual
void
volatile
wchar_t
while
xor
xor_eq
Identifiers with special meaning
override
final
[
edit
]
Usage
protected
access specifier