I have forgotten
my Password

Or login with:

  • Facebookhttp://facebook.com/
  • Googlehttps://www.google.com/accounts/o8/id
  • Yahoohttps://me.yahoo.com



Nonmodifying Algorithms neither change the order nor the value of the elements they process. They operate with input and forward iterators; therefore, you can call them for all standard containers.

Section Pages

for each

Performs an operation for each element


Searches for the first element with the passed value

find if

Searches for the first element that matches a criterion

adjacent find

Searches for two adjacent elements that are equal (by some criterion)

find first of

Searches the first of several possible elements


Count appearances of value in range


Return first position where two ranges differ


Test whether two ranges are equal


Searches for the first occurrence of a subrange

search n

Searches for the first n consecutive elements with certain properties

count if

Returns the number of elements that match a criterion

find end

Searches for the last occurrence of a subrang