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

PrevUpHomeNext

set_of_relation Struct Template Reference

Set Of Relation Specification. More...

#include <set_of.hpp>

Inheritance diagram for set_of_relation:

Inheritance graph
Collaboration diagram for set_of_relation:

Collaboration graph
List of all members.

Public Types

typedef KeyCompare key_compare
 Functor that compare two keys.
typedef mpl::bool_< false > left_mutable_key
typedef mpl::bool_< false > right_mutable_key

Detailed Description

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

Set Of Relation Specification.

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

Definition at line 163 of file set_of.hpp.


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

PrevUpHomeNext