NkEnvPair
structgeneric (template)
Generic key/value pair for associative containers
Include
#include "NKPlatform/NkEnv.h"Namespace
nkentseu::envLink (Jenga)
nkentseudependson(["NKPlatform"])C++
template <typename K, typename V> struct NkEnvPairHierarchy
Base classes : none. Derived classes : none.
Members · 5
key | Key of the pair |
value | Value associated with the key |
NkEnvPair | Default constructor |
NkEnvPair | Constructor with copy initialisation |
NkEnvPair | Constructor with move initialisation |
Member details
K key
Key of the pair
Source : NkEnv.h, line 272
V value
Value associated with the key
Source : NkEnv.h, line 275
NkEnvPair() = default
Default constructor
Source : NkEnv.h, line 280
NkEnvPair(const K &k, const V &v)
Constructor with copy initialisation
Parameters
| Name | Type | Role | Default |
|---|---|---|---|
k | const K & | ||
v | const V & |
Source : NkEnv.h, line 287
NkEnvPair(K &&k, V &&v)
Constructor with move initialisation
Parameters
| Name | Type | Role | Default |
|---|---|---|---|
k | K && | ||
v | V && |
Source : NkEnv.h, line 295