...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_one_base
// In header: <boost/accumulators/numeric/functional.hpp> template<typename Arg, typename EnableIf> struct as_one_base { // types typedef Arg argument_type; typedef remove_const< Arg >::type result_type; // public member functions remove_const< Arg >::type operator()(Arg &) const; };