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 the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Struct template promote_base<ToFrom, ToFrom, void>

boost::numeric::functional::promote_base<ToFrom, ToFrom, void>

Synopsis

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

template<typename ToFrom> 
struct promote_base<ToFrom, ToFrom, void> {
  // types
  typedef ToFrom argument_type;
  typedef ToFrom result_type;  

  // public member functions
  ToFrom & operator()(ToFrom &);
};

Description

promote_base public member functions

  1. ToFrom & operator()(ToFrom & tofrom);

PrevUpHomeNext