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 to view this page for the latest version.
PrevUpHomeNext

Struct template promote_base

boost::numeric::functional::promote_base

Synopsis

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

template<typename To, typename From, typename EnableIf> 
struct promote_base {
  // types
  typedef From argument_type;
  typedef To   result_type;  

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

Description

promote_base public member functions

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

PrevUpHomeNext