Grantlee  0.2.0
Static Public Member Functions
Grantlee::MappedValueGetter< Container > Struct Template Reference

#include <grantlee/containeraccessor.h>

Inheritance diagram for Grantlee::MappedValueGetter< Container >:
Inheritance graph
[legend]

List of all members.

Static Public Member Functions

static Container::mapped_type get (const typename Container::const_iterator it)

Detailed Description

template<typename Container>
struct Grantlee::MappedValueGetter< Container >

Trait for retrieving a mapped value from a container iterator.

This can be trivially specialized in rare cases if supporting a third party container.

See also:
Third party containers

Definition at line 72 of file containeraccessor.h.


Member Function Documentation

template<typename Container >
static Container::mapped_type Grantlee::MappedValueGetter< Container >::get ( const typename Container::const_iterator  it) [inline, static]

Returns the key available through the container iterator it.

Definition at line 77 of file containeraccessor.h.