Storage Engine API
mongo::FastMapNoAlloc< KeyType, ValueType >::PreallocEntry Struct Reference

Map entry through which we avoid releasing memory: we mark it as inUse or not. More...

Detailed Description

template<class KeyType, class ValueType>
struct mongo::FastMapNoAlloc< KeyType, ValueType >::PreallocEntry

Map entry through which we avoid releasing memory: we mark it as inUse or not.

Maps keys to values.

Public Attributes

bool inUse = false
 
KeyType key
 
ValueType value
 

Member Data Documentation

◆ inUse

template<class KeyType, class ValueType>
bool mongo::FastMapNoAlloc< KeyType, ValueType >::PreallocEntry::inUse = false

◆ key

template<class KeyType, class ValueType>
KeyType mongo::FastMapNoAlloc< KeyType, ValueType >::PreallocEntry::key

◆ value

template<class KeyType, class ValueType>
ValueType mongo::FastMapNoAlloc< KeyType, ValueType >::PreallocEntry::value

The documentation for this struct was generated from the following file: