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 complement_base

boost::numeric::functional::complement_base

Synopsis

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

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

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

Description

complement_base public member functions

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

    Returns:

    ~ arg


PrevUpHomeNext