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 for the latest Boost documentation.
PrevUpHomeNext

Struct template subscriptable

boost::type_erasure::subscriptable

Synopsis

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

template<typename R, typename T = _self, typename N = std::ptrdiff_t> 
struct subscriptable {

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

Description

subscriptable public static functions

  1. static R apply(T & arg, const N & index);

PrevUpHomeNext