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 a snapshot of the develop branch, built from commit 0da16e0695.
PrevUpHomeNext

Struct template unary_plus_base

boost::numeric::functional::unary_plus_base

Synopsis

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

template<typename Arg, typename EnableIf = void> 
struct unary_plus_base :
  public std::unary_function< Arg, typeof(+lvalue< Arg >())>
{

  // public member functions
  result_type operator()(Arg &) const;
};

Description

unary_plus_base public member functions

  1. result_type operator()(Arg & arg) const;

    Returns:

    + arg


PrevUpHomeNext