Map View of a bimap, signature compatible with tr1::unordered_map. More...
#include <unordered_map_view.hpp>
Public Types | |
typedef std::pair < BOOST_DEDUCED_TYPENAME base_::iterator, BOOST_DEDUCED_TYPENAME base_::iterator > | range_type |
typedef std::pair < BOOST_DEDUCED_TYPENAME base_::const_iterator, BOOST_DEDUCED_TYPENAME base_::const_iterator > | const_range_type |
typedef BOOST_DEDUCED_TYPENAME base_::value_type::info_type | info_type |
Public Member Functions | |
unordered_map_view (BOOST_DEDUCED_TYPENAME base_::base_type &c) | |
unordered_map_view & | operator= (const unordered_map_view &v) |
template<class CompatibleKey > | |
const info_type & | info_at (const CompatibleKey &k) const |
template<class CompatibleKey > | |
info_type & | info_at (const CompatibleKey &k) |
Map View of a bimap, signature compatible with tr1::unordered_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 tr1::unordered_map.
See also const_unordered_map_view.
typedef std::pair< BOOST_DEDUCED_TYPENAME base_::const_iterator, BOOST_DEDUCED_TYPENAME base_::const_iterator > boost::bimaps::views::unordered_map_view< Tag, BimapType >::const_range_type |
typedef BOOST_DEDUCED_TYPENAME base_::value_type::info_type boost::bimaps::views::unordered_map_view< Tag, BimapType >::info_type |
typedef std::pair< BOOST_DEDUCED_TYPENAME base_::iterator, BOOST_DEDUCED_TYPENAME base_::iterator > boost::bimaps::views::unordered_map_view< Tag, BimapType >::range_type |
|
inline |
|
inline |
References BOOST_DEDUCED_TYPENAME, boost::end, boost::algorithm::find(), and boost::lambda::throw_exception().
|
inline |
References BOOST_DEDUCED_TYPENAME, boost::end, boost::algorithm::find(), and boost::lambda::throw_exception().
|
inline |