Boost C++ Libraries Boost.Bimap Home Libraries People FAQ More

PrevUpHomeNext

key_type_by Struct Reference

Metafunction to obtain the key type of one of the sides in a bimap. More...

#include <key_type_by.hpp>


Detailed Description

Metafunction to obtain the key type of one of the sides in a bimap.

The tag parameter can be either a user defined tag or member_at::{side}. The returned type is one of the {SetType}_of definition classes.

template< class Tag, class Bimap >
struct key_type_by
{
    typedef typename Bimap::{side}_key_type type;
};

See also member_at.


The documentation for this struct was generated from the following file:
Copyright 2006 Matias Capeletto

PrevUpHomeNext