CatapultServer  v0.5.0.1 (Elephant)
catapult::deltaset::MapKeyTraits< TMap > Struct Template Reference

Key-related traits for stl map types. More...

Public Types

using KeyType = typename TMap::key_type
 
using ValueType = typename TMap::mapped_type
 
using StorageType = typename TMap::value_type
 

Static Public Member Functions

static constexpr const KeyTypeToKey (const StorageType &element)
 Converts a storage type (element) to a key. More...
 

Detailed Description

template<typename TMap>
struct catapult::deltaset::MapKeyTraits< TMap >

Key-related traits for stl map types.

Member Typedef Documentation

◆ KeyType

template<typename TMap >
using catapult::deltaset::MapKeyTraits< TMap >::KeyType = typename TMap::key_type

◆ StorageType

template<typename TMap >
using catapult::deltaset::MapKeyTraits< TMap >::StorageType = typename TMap::value_type

◆ ValueType

template<typename TMap >
using catapult::deltaset::MapKeyTraits< TMap >::ValueType = typename TMap::mapped_type

Member Function Documentation

◆ ToKey()

template<typename TMap >
static constexpr const KeyType& catapult::deltaset::MapKeyTraits< TMap >::ToKey ( const StorageType element)
inlinestaticconstexpr

Converts a storage type (element) to a key.

Here is the caller graph for this function:

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