Lambda in C++ 11

Lambda in C++ consist of expressions (called Lambda expressions). These expressions cause compilers to generate internal…

Lambda in C++ 17 : New Updates

Lambda in C++ 17 has new changes feature list. They are now better and more suited…

Generic Lambda in C++ 14

Generic Lambda in C++ 14 is a feature similar to templates. This was not present in…

Uniform initialization in C++ 11

to solve the existing problems, language standard has introduced uniform initialization in C++ 11. This new…

Callable Objects: Using std::function and std::bind

C++11 introduces a notion of callable objects. These objects include, not only function pointers and function…

Overloading unary operators: Prefix (++a) and Postfix (a++ )

Whereas, with operator calls, parameters are placed in the position of their operands. The case of…

std::any in C++

This class std::any in C++ is like a container and it saves a variable or object…

static_assert

When the expression in static_assert evaluates to value "False" then, it the program will not compile.…

constexpr in C++ explained in detail

The constexpr is a keyword present in C++11. This keyword indicates a constant value or a…

Smart Pointers : Implementation of unique_ptr & auto_ptr

The auto_ptr is one of the simplest smart pointers. This pointer internally manages a resource and…

Explain nullptr and nullptr_t

nullptr do not have either an integral type or even a pointer type. The actual type…

auto in C++: Understand the details

The auto in C++ is a new keyword which helps to define any variable or function.…