C++C++11C++14C++17C++20Learn C++Syntax

What is the conjunction (std::conjunction) 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 Multiset (std::multiset) In Modern C++?

In C++, containers are powerful data storage arrays and they are very useful to iterate and search. A container is a holder object that stores data elements (a collection of data objects) such as std::array, std::vector, std::map. There is another useful container std::multiset, in this post, we explain what std::multiset is. Before that let’s remind ourselves what containers are in C++…
Read more
C++C++11C++14C++17C++20IteratorsLearn C++Syntax

What Is Multimap (std::multimap) In Modern C++?

Modern C++is very powerful with many great features to help you write programs more easily with safer template class objects that have faster algorithms and methods. In C++, Containersare the powerful data storage arrays in modern C++ and they are very useful for iterating and searching data with their amazing methods, algorithms, and properties. A container is a holder object that…
Read more
Artificial Intelligence TechC++C++11C++14C++17C++20Learn C++

Learn C++ Optimization With A Genetic Algorithms Example

Solving C++ optimization problems are one of the areas of all quantitative disciplines from social science, economics to engineering fields such as computer science. Genetic Algorithm (GA) is a kind of machine learning process that is used to generate high-quality solutions to optimization and search problems by relying on biologically inspired operators such as mutation, crossover, and…
Read more