Logo
Pattern

Discover published sets by community

Explore tens of thousands of sets crafted by our community.

C++ Keywords

20

Flashcards

0/20

Still learning
StarStarStarStar

explicit

StarStarStarStar

Specifies that a constructor or conversion operator doesn't allow implicit conversions or copy-initialization.

StarStarStarStar

this

StarStarStarStar

A pointer to the current instance of the class.

StarStarStarStar

extern

StarStarStarStar

Indicates that a variable or function has external linkage, defined in another file.

StarStarStarStar

namespace

StarStarStarStar

Defines a scope that allows organizing code into logical groups and prevents name collisions.

StarStarStarStar

sizeof

StarStarStarStar

Yields the size in bytes of the type or object representation.

StarStarStarStar

auto

StarStarStarStar

Declares a variable with automatic type deduction.

StarStarStarStar

inline

StarStarStarStar

Suggests that a function be inlined, replacing the function call with the function code itself.

StarStarStarStar

reinterpret_cast

StarStarStarStar

Performs unsafe type conversion between types that may not be related.

StarStarStarStar

typedef

StarStarStarStar

Creates an alias for a type.

StarStarStarStar

virtual

StarStarStarStar

Specifies that a member function is to be dynamic and can be overridden in derived classes.

StarStarStarStar

delete

StarStarStarStar

Indicates that a function should not be defined and prevents default generation by the compiler, or it's used to deallocate memory.

StarStarStarStar

mutable

StarStarStarStar

Allows a member of an object to be modified even if the object is const.

StarStarStarStar

alignas

StarStarStarStar

Specifies the alignment requirement of a type or object.

StarStarStarStar

const

StarStarStarStar

Qualifies that the type can't be changed after initialization.

StarStarStarStar

register

StarStarStarStar

Hints to the compiler that the variable should be stored in a CPU register for faster access.

StarStarStarStar

template

StarStarStarStar

Defines a blueprint for generating type-safe functions or classes.

StarStarStarStar

volatile

StarStarStarStar

Indicates that a variable's value may be modified by something outside the control of the code section in which it appears.

StarStarStarStar

enum

StarStarStarStar

Defines an enumeration, a distinct type that consists of a set of named integral constants.

StarStarStarStar

static

StarStarStarStar

Specifies that the lifetime of the variable or function is the entire run of the program.

StarStarStarStar

throw

StarStarStarStar

Used to signal the occurrence of an anomalous situation (exception).

Know
0
Still learning
Click to flip
Know
0
Logo

© Hypatia.Tech. 2024 All rights reserved.