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

PrevUpHomeNext

map_view Class Template Reference

View of a side of a bimap that is signature compatible with std::map. More...

#include <map_view.hpp>

Inheritance diagram for map_view:

Inheritance graph
Collaboration diagram for map_view:

Collaboration graph
List of all members.

Public Member Functions

 map_view (BOOST_DEDUCED_TYPENAME base_::base_type &c)
template<class Modifier>
bool modify_data (iterator_ position, Modifier mod)
template<class Modifier>
bool modify_key (iterator_ position, Modifier mod)
map_viewoperator= (const map_view &v)
bool replace (iterator_ position, const value_type_ &x)
template<class CompatibleData>
bool replace_data (iterator_ position, const CompatibleData &d)
template<class CompatibleKey>
bool replace_key (iterator_ position, const CompatibleKey &k)

Protected Types

typedef map_view_base map_view_base_

Detailed Description

template<class Tag, class BimapType>
class boost::bimaps::views::map_view< Tag, BimapType >

View of a side of a bimap that is signature compatible with std::map.

This class uses container_adaptor and iterator_adaptor to wrapped a index of the multi_index bimap core so it can be used as a std::map.

See also const_map_view.

Definition at line 38 of file map_view.hpp.


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

PrevUpHomeNext