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 optimize_multikey_is_true

boost::intrusive::optimize_multikey_is_true

Synopsis

// In header: <boost/intrusive/hashtable.hpp>

template<typename T> 
struct optimize_multikey_is_true {
  // member classes/structs/unions
  template<bool Add> 
  struct two_or_three {

    // public data members
    unspecified _;
  };

  // public static functions
  template<typename U> static unspecified test(...);
  template<typename U> static two_or_three< U::optimize_multikey > test(int);

  // public data members
  static const bool value;
};

Description

optimize_multikey_is_true public static functions

  1. template<typename U> static unspecified test(...);
  2. template<typename U> static two_or_three< U::optimize_multikey > test(int);

PrevUpHomeNext