
Explore tens of thousands of sets crafted by our community.
C++ Keywords
20
Flashcards
0/20
reinterpret_cast
Performs unsafe type conversion between types that may not be related.
mutable
Allows a member of an object to be modified even if the object is const.
const
Qualifies that the type can't be changed after initialization.
typedef
Creates an alias for a type.
delete
Indicates that a function should not be defined and prevents default generation by the compiler, or it's used to deallocate memory.
auto
Declares a variable with automatic type deduction.
inline
Suggests that a function be inlined, replacing the function call with the function code itself.
register
Hints to the compiler that the variable should be stored in a CPU register for faster access.
sizeof
Yields the size in bytes of the type or object representation.
alignas
Specifies the alignment requirement of a type or object.
this
A pointer to the current instance of the class.
volatile
Indicates that a variable's value may be modified by something outside the control of the code section in which it appears.
extern
Indicates that a variable or function has external linkage, defined in another file.
namespace
Defines a scope that allows organizing code into logical groups and prevents name collisions.
throw
Used to signal the occurrence of an anomalous situation (exception).
explicit
Specifies that a constructor or conversion operator doesn't allow implicit conversions or copy-initialization.
enum
Defines an enumeration, a distinct type that consists of a set of named integral constants.
static
Specifies that the lifetime of the variable or function is the entire run of the program.
template
Defines a blueprint for generating type-safe functions or classes.
virtual
Specifies that a member function is to be dynamic and can be overridden in derived classes.
© Hypatia.Tech. 2024 All rights reserved.