Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::bimaps::multiset_of_relation< KeyCompare > Struct Template Reference

Set Of Relation Specification. More...

#include <multiset_of.hpp>

Inheritance diagram for boost::bimaps::multiset_of_relation< KeyCompare >:
Collaboration diagram for boost::bimaps::multiset_of_relation< KeyCompare >:

Public Types

typedef KeyCompare key_compare
 Functor that compare two keys. More...
 

Public Attributes

BOOST_BIMAP_GENERATE_RELATION_BINDER_1CP(multiset_of,
key_compare) typedef mpl
typedef mpl::bool_< false > 
right_mutable_key
 

Detailed Description

template<class KeyCompare = std::less< _relation >>
struct boost::bimaps::multiset_of_relation< KeyCompare >

Set Of Relation Specification.

This struct is similar to multiset_of but it is bind logically to a relation. It is used in the bimap instantiation to specify the desired type of the main view. This struct implements internally a metafunction named bind_to that manages the quite complicated task of finding the right type of the set for the relation.

template<class Relation>
struct bind_to
{
typedef -unspecified- type;
};

See also multiset_of, is_set_type_of_relation.

Member Typedef Documentation

template<class KeyCompare = std::less< _relation >>
typedef KeyCompare boost::bimaps::multiset_of_relation< KeyCompare >::key_compare

Functor that compare two keys.

Member Data Documentation

template<class KeyCompare = std::less< _relation >>
BOOST_BIMAP_GENERATE_RELATION_BINDER_1CP ( multiset_of, key_compare ) typedef mpl typedef mpl::bool_<false> boost::bimaps::multiset_of_relation< KeyCompare >::right_mutable_key

The documentation for this struct was generated from the following file: