C++C++14C++17C++20Learn C++

What Are The Deprecated C++14 Features In C++17?

C++ programming language has a lot of useful new classes, methods, templates, and keywords coming with the new C++ standards. Mostly they are new or enhanced versions of previous ones from the older standard. Because of new modern technologies and software requirements, some of these features are being deprecated and some are being removed. In this post, we will list deprecated C++14 features in…
Read more
C++C++14C++17C++20Learn C++

What Are The Member Initializers And Aggregates Features in C++14?

C++14 brought us a lot of useful things that we use today. One of the great features of C++14 was the member initializers and aggregates feature that a class with default member initializers may now be an aggregate. In this post, we explain how can use member initializers and aggregates with examples. What are the member initializers and aggregates features in C++14? With the new C++14, a…
Read more
C++C++14C++17Learn C++

How Can We Use The is_final Type Trait In C++ 14?

In C++11, the final specifier is used for a function or for a class that cannot be overridden by derived classes, and there was no way to check if that class or method is the final. In C++14, there is a std::is_final type trait that can be used to detect if a class or a method is marked as a final or not. In this post, we explain how we can use the std::is_final type trait in C++14 and…
Read more
C++C++14C++17C++20Learn C++

What Is Heterogeneous Lookup In Associative Containers In C++?

Containers are data storage arrays in modern C++ and they are very useful to iterate and search data with their amazing methods and properties. The C++ Standard Library defines four different main container types and one of them is associative containers such as std::map, and std::set. These class types allow us to use the look-up method “find()” by a value based on a value of that…
Read more