...世界上最受推崇和设计精良的 C++ 库项目之一。 — Herb Sutter 和 Andrei Alexandrescu,《C++ 编码规范
...世界上最受推崇和设计精良的 C++ 库项目之一。
boost::intrusive::compare_hash
// In header: <boost/intrusive/options.hpp> template<bool Enabled> struct compare_hash { };
此选项设置器指定容器在比较对象之前是否会比较哈希值。 如果 store_hash<> 不为 true,则无法指定此选项。 当我们有负载因子较高的容器时,这特别有用,并且比较函数比比较已存储的哈希值更昂贵。