Boost C++ Libraries 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 old version of boost. Click here for the latest version's documentation home page.

Struct template average<Left, Right, std_vector_tag, void>

boost::numeric::functional::average<Left, Right, std_vector_tag, void>


// In header: <boost/accumulators/numeric/functional/vector.hpp>

template<typename Left, typename Right> 
struct average<Left, Right, std_vector_tag, void> : public mpl::if_::type< are_integral< Left::value_type, Right >, divides< Left, double const  >, divides< Left, Right > >