ROSE 0.11.145.192
|
Traits for Tracker.
#include <Sawyer/Tracker.h>
Public Types | |
typedef TrackerSetIndex< Key > | Index |
Type of index for storing member keys. | |
typedef TrackerSetIndex<Key> Sawyer::Container::TrackerTraits< Key >::Index |
Type of index for storing member keys.
This type should define three member functions: clear
that takes no arguments and removes all keys from the index; exists
that takes a key and returns true if and only if it is present in the index; and insert
that takes a key and inserts it into the index returning true if and only if the key did not previously exist in the index. None of these functions need to be thread safe since they will be synchronized from the Tracker class.