Boost C++ 库

“……世界上最受尊敬和专业设计的C++库项目之一。” Herb SutterAndrei Alexandrescu, C++ 编码标准

PrevUpHomeNext

结构体模板 fastmod_buckets

boost::intrusive::fastmod_buckets

概要

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

template<bool Enabled> 
struct fastmod_buckets {
};

描述

警告:此选项是实验性的,请勿在生产代码中使用它。此选项设置器指定用户提供的桶数组的长度是否始终为 suggested_upper|lower_bucket_count 调用指定的值。这允许使用一些预先计算的值,并加速哈希到桶索引的操作,从而提高性能。 在调试模式下,将使用断言检查提供的桶数组长度。


PrevUpHomeNext