Searched defs:closed_plus (Results 1 – 1 of 1) sorted by relevance
23 template < class T > struct closed_plus struct25 const T inf;27 closed_plus() : inf((std::numeric_limits< T >::max)()) {} in closed_plus() function28 closed_plus(T inf) : inf(inf) {} in closed_plus() function30 T operator()(const T& a, const T& b) const in operator ()()