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

PrevUpHomeNext

map_type_by Struct Reference

Metafunction to obtain the map view type of a bimap indexed by one of the sides. More...

#include <map_type_by.hpp>


Detailed Description

Metafunction to obtain the map view type of a bimap indexed by one of the sides.

The tag parameter can be either a user defined tag or member_at::{side}. The returned type is signature-compatible with std::pair.

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

See also member_at.


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

PrevUpHomeNext