Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
PairAdapter< K, T > Class Template Reference

#include <elm/adapter.h>

Public Types

typedef K key_t
 
typedef T val_t
 
typedef Pair< K, T > data_t
 

Static Public Member Functions

static const key_tkey (const data_t &v)
 
static const val_tvalue (const data_t &v)
 
static val_tref (data_t &v)
 

Member Typedef Documentation

◆ data_t

typedef Pair<K, T> data_t

◆ key_t

typedef K key_t

◆ val_t

typedef T val_t

Member Function Documentation

◆ key()

static const key_t& key ( const data_t v)
inlinestatic

References Pair< T1, T2 >::fst.

◆ ref()

static val_t& ref ( data_t v)
inlinestatic

References Pair< T1, T2 >::snd.

◆ value()

static const val_t& value ( const data_t v)
inlinestatic

References Pair< T1, T2 >::snd.


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