...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::store_hash_is_true
// In header: <boost/intrusive/hashtable.hpp> template<typename T> struct store_hash_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::store_hash > test(int); // public data members static const bool value; };