Test Ranges
C++17 contains several algorithms to check whether a value or values in a range fulfill our given condition. Let's look at these algorithms now.
We'll cover the following...
The three functions std::all_of
, std::any_of
, and ...