binary_search

The STL Algorithms

The algorithms defined by the Standard Template Library are described here. These algorithms operate on containers through iterators. All of the algorithms are template functions. They require the header <algorithm>. Here are descriptions of the generic type names used by the algorithms:

Generic Name

Represents

BiIter

Bidirectional iterator

ForIter

Forward iterator

InIter

Input iterator

OutIter

Output iterator

RandIter

Random access iterator

T

Some type of data

Size

Some type of integer

Func

Some type of function

Generator

A function that generates objects

BinPred

Binary predicate

UnPred

Unary predicate

Comp

Comparison function




C(s)C++ Programmer's Reference
C Programming on the IBM PC (C Programmers Reference Guide Series)
ISBN: 0673462897
EAN: 2147483647
Year: 2002
Pages: 539

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net