Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2013. The current version is 1.89.0.
boost::numeric::functional::as_one<T, std_vector_tag>
// In header: <boost/accumulators/numeric/functional/vector.hpp> template<typename T> struct as_one<T, std_vector_tag> : public std::unary_function< T, remove_const< T >::type > { // public member functions remove_const< T >::type operator()(T &) const; };