|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
#include <map>#include <stdexcept>

Go to the source code of this file.
Classes | |
| class | BiMap< Left, Right > |
| Simple bidirectional map with lookup in both directions. More... | |
| struct | BiMap< Left, Right >::relation |
| Pair relation used for initialization. More... | |
| struct | BiMap< Left, Right >::left_view |
| Left-map view with find/at helpers. More... | |
| struct | BiMap< Left, Right >::right_view |
| Right-map view with find/at helpers. More... | |
Functions | |
| template<typename Left , typename Right > | |
| BiMap< Left, Right > | make_bimap (std::initializer_list< typename BiMap< Left, Right >::relation > relations) |
| Helper function to create a BiMap from an initializer list. | |
| BiMap< Left, Right > make_bimap | ( | std::initializer_list< typename BiMap< Left, Right >::relation > | relations | ) |
Helper function to create a BiMap from an initializer list.
| relations | Input: list of left/right relations. |
Definition at line 148 of file BiMap.h.
References BiMap< Left, Right >::insert().
