C++C++11C++14C++17C++20

What Is The Stack (std::stack) In Modern C++?

Modern C++ defines four container categories, and one of these is known as Container Adapters. There is a very useful container adapter implemented by the std::stack. In this post, we explain what std::stack is, and how can we add, delete, and print out them. Before that let’s remind ourselves what containers are in C++ programming and what are their types. What is a container in…
Read more
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++11C++14C++17C++20Learn C++Syntax

What Is The disjunction (std::disjunction) 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++11C++14C++17C++20Learn C++Syntax

What Is Set (std::set) In Modern C++?

Modern C++ has a lot of options to add and modify data members with its amazing data holders, arrays, structs, pointers, and containers. Containers are powerful data storage arrays in C++ and they are very useful to iterate and search. A container is a holder object that stores data elements (a collection of data objects). std::array, std::vector, and std::map are these kinds of containers.
Read more