Key-Value Pair
#include <raft/core/kvp.hpp>
namespace raft::core
-
template<typename _Key, typename _Value>
struct KeyValuePair
A key identifier paired with a corresponding value.
Public Types
-
typedef _Key Key
Key data type.
-
typedef _Value Value
Value data type.
Public Functions
-
KeyValuePair() = default
Constructor.
-
inline RAFT_INLINE_FUNCTION KeyValuePair(Key const &key, Value const &value)
Constructor.
-
inline RAFT_INLINE_FUNCTION bool operator!= (const KeyValuePair &b)
Inequality operator.
Public Members
-
Key key
Item key.
-
Value value
Item value.