constant_mapping.h
Go to the documentation of this file.
80 static const constant_mapping<Key, Value> &fmapping(const std::pair<Key, Value>* pairs, size_t pair_count)
92 static const constant_mapping<Key, Value> &rmapping(const std::pair<Value, Key>* pairs, size_t pair_count)
static const constant_mapping< Key, Value > & rmapping(const std::pair< Value, Key > *pairs, size_t pair_count)
Definition: constant_mapping.h:92
Definition: enum_description.h:15
const Value & constant_mapping_get(const std::pair< Key, Value >(&pairs)[N], const Key &key, const Value &default_value)
Definition: constant_mapping.h:122
Definition: constant_mapping.h:54
Definition: constant_mapping.h:25
Definition: enums.h:301
std::size_t operator()(const T val) const
Definition: constant_mapping.h:33
static const constant_mapping< Key, Value > & fmapping(const std::pair< Key, Value > *pairs, size_t pair_count)
Definition: constant_mapping.h:80