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

Click here to view the latest version of this page.
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