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

PrevUpHomeNext

Struct template promote<To, From, std_vector_tag, std_vector_tag>

boost::numeric::functional::promote<To, From, std_vector_tag, std_vector_tag>

Synopsis

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

template<typename To, typename From> 
struct promote<To, From, std_vector_tag, std_vector_tag> {
  // types
  typedef From argument_type;
  typedef To   result_type;  

  // public member functions
  To operator()(From &) const;
};

Description

promote public member functions

  1. To operator()(From & arr) const;

PrevUpHomeNext