...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::numeric::functional::as_min_base<Arg, typename enable_if< is_floating_point< Arg > >::type>
// In header: <boost/accumulators/numeric/functional.hpp> template<typename Arg> struct as_min_base<Arg, typename enable_if< is_floating_point< Arg > >::type> { // types typedef Arg argument_type; typedef remove_const< Arg >::type result_type; // public member functions BOOST_STATIC_ASSERT(std::numeric_limits< typename remove_const< Arg >::type >::is_specialized); remove_const< Arg >::type operator()(Arg &) const; };