CatapultServer  v0.5.0.1 (Elephant)
catapult::deltaset::SetKeyTraits< TSet > Struct Template Reference

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

Public Types

using KeyType = typename TSet::value_type
 
using ValueType = typename TSet::value_type
 
using StorageType = typename TSet::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 TSet>
struct catapult::deltaset::SetKeyTraits< TSet >

Key-related traits for stl set types.

Member Typedef Documentation

◆ KeyType

template<typename TSet >
using catapult::deltaset::SetKeyTraits< TSet >::KeyType = typename TSet::value_type

◆ StorageType

template<typename TSet >
using catapult::deltaset::SetKeyTraits< TSet >::StorageType = typename TSet::value_type

◆ ValueType

template<typename TSet >
using catapult::deltaset::SetKeyTraits< TSet >::ValueType = typename TSet::value_type

Member Function Documentation

◆ ToKey()

template<typename TSet >
static constexpr const KeyType& catapult::deltaset::SetKeyTraits< TSet >::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: