|
Go to the documentation of this file.
8 #ifndef ADOBE_ALGORITHM_SELECT_HPP
9 #define ADOBE_ALGORITHM_SELECT_HPP
47 template < typename T, typename R>
48 inline const T& select_1_ac( const T& a, const T& b, const T& c, R r)
50 assert(!r(c, a) && "WARNING (sparent) : a and c must be non-decreasing");
58 template < typename T, typename R>
61 assert(!r(c, a) && "WARNING (sparent) : a and c must be non-decreasing");
69 template < typename T, typename R>
70 inline const T& select_1_ab( const T& a, const T& b, const T& c, R r)
72 assert(!r(b, a) && "WARNING (sparent) : a and b must be non-decreasing");
80 template < typename T, typename R>
83 assert(!r(b, a) && "WARNING (sparent) : a and b must be non-decreasing");
91 template < typename T, typename R>
92 inline const T& select_1( const T& a, const T& b, const T& c, R r)
99 template < typename T, typename R>
|