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 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