Boost C++ Libraries 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.

Struct template inplace_plus



// 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 &);


inplace_plus public member functions

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

inplace_plus public static functions

  1. static void version(Type &);