Rihen Rihen NkentseuDocumentation

NkEnvPair

structgeneric (template)

Generic key/value pair for associative containers

Include
#include "NKPlatform/NkEnv.h"
Namespace
nkentseu::env
Link (Jenga)
nkentseudependson(["NKPlatform"])
C++
template <typename K, typename V> struct NkEnvPair

Hierarchy

Base classes : none. Derived classes : none.

Hierarchy : NkEnvPairNkEnvPair

Members · 5

keyKey of the pair
valueValue associated with the key
NkEnvPairDefault constructor
NkEnvPairConstructor with copy initialisation
NkEnvPairConstructor with move initialisation

Member details

key

#
field
K key

Key of the pair

value

#
field
V value

Value associated with the key

NkEnvPair

#
constructor
NkEnvPair() = default

Default constructor

NkEnvPair

#
constructor
NkEnvPair(const K &k, const V &v)

Constructor with copy initialisation

Parameters

NameTypeRoleDefault
kconst K &
vconst V &

NkEnvPair

#
constructor
NkEnvPair(K &&k, V &&v)

Constructor with move initialisation

Parameters

NameTypeRoleDefault
kK &&
vV &&