Reserved keyword in modern c++

In our previous post we talk about variables and their naming conventionintroduction to variables in modern c++ we explain we should never use the c++ reserve keywords as our variable names... we hereby provide all the list of reserved keywords in modern c++ these are name that is defined by the c++ language itself so you should not use them as your variable names

char
char16_t
char32_t
class
false
float
short
wchar_t
auto
bool
decltype
double
int
long

break
do
for
case
catch
goto
if
switch

alignas
alignof
and
and_eq
asm
atomic_cancel
atomic_commit
atomic_noexcept

bitand
bitor



compl
concept
const
constexpr
const_cast
continue

default
delete

dynamic_cast
else
enum
explicit
export
extern

friend

import
inline

module
mutable
namespace
new
noexcept
not
not_eq
nullptr
operator
or
or_eq
private
protected
public
register
reinterpret_cast
requires
return

signed
sizeof
static
static_assert
static_cast
struct

synchronized
template
this
thread_local
throw
true
try
typedef
typeid
typename
union
unsigned
using
virtual
void
volatile

while
xor
xor_eq
override
final
transaction_safe
transaction_safe_dynamic
if
elif
else
endif
defined
ifdef
ifndef
define
undef
include
line
error
pragma


Never miss out any of this blog articles, Receive our regular updates by joining our mailing list, connect with us on facebook, follow us on Google+ connect with us on Pinterest, add us on Tumblr, and follow us on Twitter.

Never forget to promote and recommend this post to others, Remember sharing is caring.
For other suggestions and queries that are not related to this post should be forwarded to us through the contact form or better still you can get in touch with us on WhatsApp with this number +2348163702703.

Enjoy and have fun!

©2017, copyright Ogunleye Peter Opeoluwa
Admin @Idea4novice : Tech Weblog On How Tos, Tips And Tricks
Share on Google Plus

About Ogunleye Peter Kleve

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 Post a Comment/Comments:

Post a Comment