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 inplace_plus

boost::icl::inplace_plus

Synopsis

// In header: <boost/icl/functors.hpp>

template<typename Type> 
struct inplace_plus :
  public boost::icl::identity_based_inplace_combine< Type >
{
  // types
  typedef inplace_plus< Type > type;

  // public member functions
  void operator()(Type &, const Type &) const;

  // public static functions
  static void version(Type &);
};

Description

inplace_plus public member functions

  1. void operator()(Type & object, const Type & operand) const;

inplace_plus public static functions

  1. static void version(Type &);

PrevUpHomeNext