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

Set Of Relation Specification. More...

#include <unordered_set_of.hpp>

Inheritance diagram for boost::bimaps::unordered_set_of_relation< HashFunctor, EqualKey >:
Collaboration diagram for boost::bimaps::unordered_set_of_relation< HashFunctor, EqualKey >:

Public Types

typedef HashFunctor hasher
 Hash Functor that takes value_type objects. More...
 
typedef EqualKey key_equal
 Functor that compare two value_type objects for equality. More...
 

Public Attributes

BOOST_BIMAP_GENERATE_RELATION_BINDER_2CP(unordered_set_of,
hasher, key_equal) typedef mpl
typedef mpl::bool_< false > 
right_mutable_key
 

Detailed Description

template<class HashFunctor = hash< _relation >, class EqualKey = std::equal_to< _relation >>
struct boost::bimaps::unordered_set_of_relation< HashFunctor, EqualKey >

Set Of Relation Specification.

This struct is similar to unordered_set_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 unordered_set_of, is_set_type_of_relation.

Member Typedef Documentation

template<class HashFunctor = hash< _relation >, class EqualKey = std::equal_to< _relation >>
typedef HashFunctor boost::bimaps::unordered_set_of_relation< HashFunctor, EqualKey >::hasher

Hash Functor that takes value_type objects.

template<class HashFunctor = hash< _relation >, class EqualKey = std::equal_to< _relation >>
typedef EqualKey boost::bimaps::unordered_set_of_relation< HashFunctor, EqualKey >::key_equal

Functor that compare two value_type objects for equality.

Member Data Documentation

template<class HashFunctor = hash< _relation >, class EqualKey = std::equal_to< _relation >>
BOOST_BIMAP_GENERATE_RELATION_BINDER_2CP ( unordered_set_of, hasher, key_equal ) typedef mpl typedef mpl::bool_<false> boost::bimaps::unordered_set_of_relation< HashFunctor, EqualKey >::right_mutable_key

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