BlockArraySelector< BLOCK_SIZE_EXPONENT, MEMFLAGS, ALLOCATOR > Class Template Reference Data Structures
#include <blockarray.h>
This selector class is used for template parameters which select the array implementation to use. It will then instruct the template to use the BlockArray implementation. For example, ArrayMap by uses an underlying BaseArray by default. If you want to use a BlockArray instead, you'd write
ArrayMap<Int, String, true, DefaultCompare, BlockArraySelector<>> map;BLOCK_SIZE_EXPONENT | Size of an array block: 2^BLOCK_SIZE_EXPONENT. |
MEMFLAGS | 使用 BLOCKARRAYFLAGS::NONE unless you know the object can be moved and/or copied. |
ALLOCATOR | Class for memory allocation. |
Public Types |
|
template<typename T > | |
using | 类型 = BlockArray < T, BLOCK_SIZE_EXPONENT, MEMFLAGS, ALLOCATOR > |
using 类型 = BlockArray <T, BLOCK_SIZE_EXPONENT, MEMFLAGS, ALLOCATOR> |