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

#include </home/casse/Dev/elm/src/concepts.h>

Public Types

typedef K key_t
 

Static Public Member Functions

static const K & key (const T &value)
 

Detailed Description

template<class K, class T>
class elm::concept::Key< K, T >

This class are used for data whose only a part represents an identifier when comparison must be done.

Parameters
KType of the key.
TType of the item.

Implemented by:

Member Typedef Documentation

◆ key_t

typedef K key_t

Type of the key.

Member Function Documentation

◆ key()

static const K& key ( const T &  value)
static

Get the key from a value.

Parameters
valueValue to get the key of.
Returns
Key of the current value.

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