Rosetta Utilities  2014.35
Namespaces | Functions
iter_util.hh File Reference
#include <algorithm>
#include <iterator>


 unresizable vector whose size is known at compile time, which may be allocated on the stack, and which indexes from 1.


template<typename BidirectionalIterator , typename T >
BidirectionalIterator utility::find_closest (BidirectionalIterator first, BidirectionalIterator last, const T &value)
 Returns an iterator on the sorted range [first, last) nearest to value. If value is equidistant between adjacent elements, the lesser is returned. More...

Detailed Description

Christopher Miles (