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

PrevUpHomeNext

structured_pair Class Template Reference

A std::pair signature compatible class that allows you to control the internal structure of the data. More...

#include <structured_pair.hpp>

List of all members.

Public Types

typedef ::boost::mpl::vector3<
structured_pair< FirstType,
SecondType, normal_layout >,
structured_pair< FirstType,
SecondType, mirror_layout >,
BOOST_DEDUCED_TYPENAME::boost::mpl::if_<
BOOST_DEDUCED_TYPENAME::boost::is_same<
Layout, normal_layout
>::type, mutant_relation<
FirstType, SecondType, true >,
mutant_relation< SecondType,
FirstType, true > >::type > 
mutant_views

Public Member Functions

template<class Tag>
BOOST_DEDUCED_TYPENAME::boost::bimaps::relation::support::result_of::get<
Tag, structured_pair >::type 
get (BOOST_EXPLICIT_TEMPLATE_TYPE(Tag))
template<class Tag>
const BOOST_DEDUCED_TYPENAME::boost::bimaps::relation::support::result_of::get<
Tag, structured_pair >::type 
get (BOOST_EXPLICIT_TEMPLATE_TYPE(Tag)) const
template<class First, class Second>
structured_pairoperator= (const std::pair< First, Second > &p)
template<class OtherLayout>
structured_pairoperator= (const structured_pair< FirstType, SecondType, OtherLayout > &p)
template<class First, class Second>
 structured_pair (const std::pair< First, Second > &p)
template<class OtherLayout>
 structured_pair (const structured_pair< FirstType, SecondType, OtherLayout > &p)
 structured_pair (BOOST_DEDUCED_TYPENAME boost::call_traits< BOOST_DEDUCED_TYPENAME base_::first_type >::param_type x, BOOST_DEDUCED_TYPENAME boost::call_traits< BOOST_DEDUCED_TYPENAME base_::second_type >::param_type y)
 structured_pair ()


Detailed Description

template<class FirstType, class SecondType, class Layout = normal_layout>
class boost::bimaps::relation::structured_pair< FirstType, SecondType, Layout >

A std::pair signature compatible class that allows you to control the internal structure of the data.

This class allows you to specify the order in wich the two data types will be in the layout of the class.

Definition at line 164 of file structured_pair.hpp.


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

PrevUpHomeNext