ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::KeyedDictionary Concept Reference

a dictionary that gives the address of the key equal to the one asked, on which DictionarySet is a USet; the search may change the dictionary (a splay tree), not the set of its keys More...

#include <ADS/set/SetInterfaces.h>

Concept definition

template< class D >
concept KeyedDictionary =
requires( D d , const typename D::Key & k , const typename D::Value & v )
{
typename D::Key;
typename D::Value;
{ d.findKey( k ) } -> std::convertible_to< const typename D::Key * >;
d.insert( k , v );
d.remove( k );
}
a dictionary that gives the address of the key equal to the one asked, on which DictionarySet is a US...
Definition SetInterfaces.h:110

Detailed description

a dictionary that gives the address of the key equal to the one asked, on which DictionarySet is a USet; the search may change the dictionary (a splay tree), not the set of its keys