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 decrementable

boost::type_erasure::decrementable

Synopsis

// In header: <boost/type_erasure/operators.hpp>

template<typename T = _self> 
struct decrementable {

  // public static functions
  static void apply(T &);
};

Description

The decrementable concept allow pre and post decrement on an any. The contained type must provide a pre-decrement operator.

decrementable public static functions

  1. static void apply(T &);

PrevUpHomeNext