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

Struct template promote<ToFrom, ToFrom, std_valarray_tag, std_valarray_tag>

boost::numeric::functional::promote<ToFrom, ToFrom, std_valarray_tag, std_valarray_tag>

Synopsis

template<typename ToFrom> 
struct promote<ToFrom, ToFrom, std_valarray_tag, std_valarray_tag> : public std::unary_function< ToFrom, ToFrom > {

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

Description

promote public member functions

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

PrevUpHomeNext