
29 Feb
2004
29 Feb
'04
9:27 a.m.
Eric Niebler wrote:
boost::std_min is defined as follows:
template< typename T > inline T const & std_min( T const & a, T const & b ) { using std::min; return min BOOST_PREVENT_MACRO_SUBSTITUTION ( a, b ); }
I don't like the name of the function, as std_min doesn't hint me about the ADL-nature of the call. Would adl_std_min be too much typing? Or propbably just adl_min, as it's quite common to use std::min if ADL doesn't find a better match. My $.02. Regards, Daniel