Check Conditions on 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.
The three functions std::all_of
, std::any_of
and std::none_of
...
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.
The three functions std::all_of
, std::any_of
and std::none_of
...