“……世界上最受尊敬和专业设计的C++库项目之一。” — Herb Sutter 和 Andrei Alexandrescu, C++ 编码标准
boost::intrusive::fastmod_buckets
// In header: <boost/intrusive/options.hpp> template<bool Enabled> struct fastmod_buckets { };
警告:此选项是实验性的,请勿在生产代码中使用它。此选项设置器指定用户提供的桶数组的长度是否始终为 suggested_upper|lower_bucket_count 调用指定的值。这允许使用一些预先计算的值,并加速哈希到桶索引的操作,从而提高性能。 在调试模式下,将使用断言检查提供的桶数组长度。