Saturday, 15 August 2015

list of all the C++ keywords

Leave a Comment
C++ reserves a set of 73 words for its own use. These words are called keywords, and each of these keywords has a special meaning within the C++ language.

alignas **
alignof **
asm
auto
bool *
break
case
catch
char
char16_t **
char32_t **
class
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 **
nullptr **
operator
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
If You Enjoyed This, Take 5 Seconds To Share It