Class OrderedDict::Item#
Defined in File ordered_dict.h
Page Contents
Nested Relationships#
This class is a nested type of Template Class OrderedDict.
Class Documentation#
-
class Item#
Public Functions
-
inline Item(Key key, Value value)#
Constructs a new item.
-
inline Value &operator*()#
Returns a reference to the value.
-
inline const Value &operator*() const#
Returns a reference to the value.
-
inline Value *operator->()#
Allows access to the value using the arrow operator.
-
inline const Value *operator->() const#
Allows access to the value using the arrow operator.
-
inline const Key &key() const noexcept#
Returns a reference to the key.
-
inline Value &value() noexcept#
Returns a reference to the value.
-
inline const Value &value() const noexcept#
Returns a reference to the value.
-
inline const std::pair<Key, Value> &pair() const noexcept#
Returns a
(key, value)
pair.
-
inline Item(Key key, Value value)#