Type‐safe pointer to a key/data pair in a SkipList.

Synopsis

Declared in <bdlcc_skiplist.h>

template<
    class KEY,
    class DATA>
class SkipListPair;

Description

Pointers to objects of this class are used in the "raw" API of SkipList; however, objects of the class are never constructed as the class serves only to provide type‐safe pointers.

In addition, this class defines key and data member functions that pass this to static methods of SkipList.

Member Functions

Name

Description

data

Return a reference to the modifiable "data" of this pair.

key

Return a reference to the non‐modifiable "key" value of this pair.

Created with MrDocs