...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::intrusive::optimize_multikey_is_true
// 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; };