ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::mod::Inserted< H, K, V > Struct Template Reference

the item of handle \( h \), key \( k \) and value \( v \) inserted More...

#include <ADS/Modification.h>

Public types

using handle_type = H
using key_type = K
 < the handle
using value_type = V
 < the key

Public member functions

bool operator== (const Inserted &) const =default
 whether the two events are the same

Public attributes

H h
 < the value
K key
 the key
V value
 the value

Static public attributes

static constexpr unsigned effects = effect::grows
 it grows
static constexpr Role role = Role::Insert
 an insertion

Detailed description

template<class H, class K, class V = void>
struct ADS::mod::Inserted< H, K, V >

the item of handle \( h \), key \( k \) and value \( v \) inserted

Member typedef documentation

◆ handle_type

template<class H, class K, class V = void>
using ADS::mod::Inserted< H, K, V >::handle_type = H

◆ key_type

template<class H, class K, class V = void>
using ADS::mod::Inserted< H, K, V >::key_type = K

< the handle

◆ value_type

template<class H, class K, class V = void>
using ADS::mod::Inserted< H, K, V >::value_type = V

< the key

Member function documentation

◆ operator==()

template<class H, class K, class V = void>
bool ADS::mod::Inserted< H, K, V >::operator== ( const Inserted< H, K, V > & ) const
default

whether the two events are the same

Member data documentation

◆ effects

template<class H, class K, class V = void>
unsigned ADS::mod::Inserted< H, K, V >::effects = effect::grows
staticconstexpr

it grows

◆ h

template<class H, class K, class V = void>
H ADS::mod::Inserted< H, K, V >::h

< the value

the handle

◆ key

template<class H, class K, class V = void>
K ADS::mod::Inserted< H, K, V >::key

the key

◆ role

template<class H, class K, class V = void>
Role ADS::mod::Inserted< H, K, V >::role = Role::Insert
staticconstexpr

an insertion

◆ value

template<class H, class K, class V = void>
V ADS::mod::Inserted< H, K, V >::value

the value


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