Lely core libraries  2.3.4
binode Struct Reference

A node in a bidirectional map. More...

#include <bimap.h>

Collaboration diagram for binode:

Data Fields

struct rbnode key
 The node used to lookup values by key.
 
struct rbnode value
 The node used to lookup keys by value.
 

Detailed Description

A node in a bidirectional map.

To associate a value with a node, embed the node in a struct containing the value and use structof() to obtain the struct from the node.

See also
bimap

Definition at line 48 of file bimap.h.


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