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 a snapshot of the develop branch, built from commit d7c8a7cf0d.
PrevUpHomeNext

Struct template negatable

boost::type_erasure::negatable

Synopsis

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

template<typename T = _self, typename R = T> 
struct negatable {

  // public static functions
  static R apply(const T &);
};

Description

The negatable concept allow use of the unary minus operator on an any.

negatable public static functions

  1. static R apply(const T &);

PrevUpHomeNext