C++C++11Introduction to C++Learn C++Syntax

Full List Of Features In C++ 11

C++ is one of the most powerful programming languages available today and it is being improved by every new C++ standard. The “Modern C++” term started with the release of the C++11 standards, and then the C++14, C++17, and C++20 standards followed. In the future C++23 is already on the horizon. Modern C++ consists of a lot of features of previous C++ standards too and, of course, those of the…
Read more
C++C++11C++14C++17Learn C++SyntaxTemplates

What Are The Logical Operation Metafunctions In Modern C++?

Metaprogramming is another great feature of modern C++ that allows programs to redesign itself during compilation or run time. In C++17, another new feature about metaprogramming is introduced, logical operation metafunctions. These are variadic metafunctions that are  conjunction, disjunction, and negation which can be used for metaprogramming features of applications. In this post, we…
Read more
C++C++11C++14C++17C++20Learn C++Syntax

What is the negation (std::negation) metafunction in C++?

Metaprogramming is another great feature of modern C++ that allows programs to redesign themselves during compilation or run time. In C++17, another new feature of metaprogramming is introduced, logical operation metafunctions. These are variadic metafunctions that are conjunction, disjunction, and negation which can be used for metaprogramming features of applications. In this post, we explain…
Read more
C++C++14C++17C++20Learn C++

What Is Auto Return Type Deduction In C++?

C++11 allowed lambda functions to deduce the return type based on the type of the expression given to the return statement. The C++14 standard provides return type deduction in all functions, templates, and lambdas. C++14 allows return type deduction for functions that are not of the form return expressions. In this post, we explain the auto keyword, what is an auto type deduction, and how we…
Read more