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…
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.…
decltype in C++: Understand the details
The keyword decltype in c++, returns the data type of an expression or variable. This keyword…
C++ Templates: Partial Template Specialization
Partial template specialization means to rewrite C++ templates by explicitly specifying a few but not all…
Curiously Recurring Template Pattern (CRTP)
CRTP is a technique of achieving static polymorphism. And this technique is also called F-bound polymorphism…