Compile time if is a C++17 syntax which causes compiler to evaluate the given "if" expression…
Category: C++11 and above
This category contains various technical articles. All of these are in advanced C++ versions, like, version C++11 and above (C++14, C++17 etc).
Difference between using and typedef in C++
the main difference between using and typedef in C++ specifically relates to templates. Whenever, the program…
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…
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…