ArrayMapSelector< SORTED, COMPARE, ARRAY > Class Template Reference Data Structures
#include <arraymap.h>
This selector class is used for template parameters which select the map implementation to use. It will then instruct the template to use the ArrayMap implementation. For example, RangeSet uses an underlying BurstTrieMap by default. If you want to use an ArrayMap instead, you'd write
RangeSet<Int, ArrayMapSelector<>> set;SORTED | Shall a sorted array map be selected? |
COMPARE | Class to be used to compare the keys. |
ARRAY | Selector for the array implementation that this map shall use. |
Public Types |
|
template<typename K , typename V > | |
using | 类型 = ArrayMap < K, V, SORTED, COMPARE, ARRAY > |
using 类型 = ArrayMap <K, V, SORTED, COMPARE, ARRAY> |