wrapper class for key that can go in sets and multisets
More...
#include <orbtree_node.h>
|
typedef Key | KeyType |
|
typedef const Key | ValueType |
|
|
| KeyOnly (const Key &k_) |
|
| KeyOnly (Key &&k_) |
|
template<class... T> |
| KeyOnly (T &&... args) |
|
const Key & | key () const |
| access key value – only const access is possible, key should not change
|
|
ValueType & | keyvalue () const |
| universal access to key / key-value pair
|
|
void | swap (KeyOnly &k_) |
|
|
static const Key & | key (const ValueType &k) |
| helper to extract the key from ValueType – contrast it with KeyValue
|
|
|
Key | k |
| actual key; should not change during a node's lifetime – not const to allow swapping / moving nodes
|
|
template<class Key>
struct orbtree::KeyOnly< Key >
wrapper class for key that can go in sets and multisets
◆ keyonly
flag to signal tree if this is key-value pair or just key – used when defining iterators
The documentation for this struct was generated from the following file: