Sign in

Im just here to learn some things

Info

std::any_of checks to see if a given unary predicate returns true for any of the values in a range

Complexity: Linear, O(n)

Category: Non-Modifying Sequence Operations

Breakdown

std::any_of:

Parameters

  • first = Input Iterator to the start of…

Info

std::none_of checks to see if a given unary predicate returns false for all of the values in a range

Complexity: Linear, O(n)

Category: Non-Modifying Sequence Operations

Breakdown

std::none_of:

Parameters

  • first = Input Iterator to the start of…

Note: I will not be including projections in this or any of these articles

Info

std::all_of checks to see if a given unary predicate returns true for all values in a range

Complexity: Linear, O(n)

Category: Non-Modifying Sequence Operations

Breakdown

std::all_of:


Hi! This is going to be a series of posts exploring the C++ STL <algorithm> header. This is going to be a way to improve my understanding of the standard algorithms and give you, the reader, a simplified overview of each algorithm. I am not a professional writer and I…

Michael Spagna

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store