Standard C++ Library Class Reference
Click on the banner to return to the Class Reference home page.
©Copyright 1996 Rogue Wave Software
binary_search
 Algorithm
Summary
Performs a binary search for a value on a container.
Contents
Synopsis● 
Description● 
Complexity● 
Example● 
Warnings● 
See Also● 
Synopsis
#include <algorithm>
template <class ForwardIterator, class T>
bool
binary_search(ForwardIterator first, ForwardIterator last,
 const T& value);
template <class ForwardIterator, class T, class Compare>
bool
binary_search(ForwardIterator first, ForwardIterator last,
 const T& value, Compare comp);










