AUI Framework  master
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
aui::BinarySearchNearestToZero< Predicate, Iterator > Struct Template Reference

aui::binary_search helper to find a value the Predicate returns the nearest to zero result from. More...

#include <AUI/Traits/algorithms.h>

Public Member Functions#

 BinarySearchNearestToZero (Predicate predicate, aui::range< Iterator > range)
 
BinarySearchResult operator() (Iterator c)
 

Detailed Description

template<typename Predicate, typename Iterator>
struct aui::BinarySearchNearestToZero< Predicate, Iterator >
Template Parameters
Predicate