FEAT 3
Finite Element Analysis Toolbox
Loading...
Searching...
No Matches
FEAT::Util::KeyValuePair< V, Key > Struct Template Reference

Return type for SlotMapIterator. More...

#include <slotmap.hpp>

Public Member Functions

 KeyValuePair (V &v, Key k)
 

Public Attributes

Key key
 
V & value
 

Detailed Description

template<typename V, typename Key = SlotMapKey>
struct FEAT::Util::KeyValuePair< V, Key >

Return type for SlotMapIterator.

Contains a reference to data stored in the SlotMap and the corresponding key.

Author
Markus Muegge

Definition at line 47 of file slotmap.hpp.

Constructor & Destructor Documentation

◆ KeyValuePair()

template<typename V , typename Key = SlotMapKey>
FEAT::Util::KeyValuePair< V, Key >::KeyValuePair ( V &  v,
Key  k 
)
inline

Definition at line 49 of file slotmap.hpp.

Member Data Documentation

◆ key

template<typename V , typename Key = SlotMapKey>
Key FEAT::Util::KeyValuePair< V, Key >::key

Definition at line 54 of file slotmap.hpp.

◆ value

template<typename V , typename Key = SlotMapKey>
V& FEAT::Util::KeyValuePair< V, Key >::value

Definition at line 53 of file slotmap.hpp.


The documentation for this struct was generated from the following file: