Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58891 - trunk/boost/bimap
From: matias.capeletto_at_[hidden]
Date: 2010-01-11 06:24:53


Author: matias
Date: 2010-01-11 06:24:52 EST (Mon, 11 Jan 2010)
New Revision: 58891
URL: http://svn.boost.org/trac/boost/changeset/58891

Log:
fix context to complex for V7.1
Text files modified:
   trunk/boost/bimap/bimap.hpp | 132 +++++++++++++++++++--------------------
   1 files changed, 64 insertions(+), 68 deletions(-)

Modified: trunk/boost/bimap/bimap.hpp
==============================================================================
--- trunk/boost/bimap/bimap.hpp (original)
+++ trunk/boost/bimap/bimap.hpp 2010-01-11 06:24:52 EST (Mon, 11 Jan 2010)
@@ -204,75 +204,71 @@
     /// Right map view
     right_map right;
 
- bimap(const allocator_type& al = allocator_type()) :
-
- base_::relation_set(
- ::boost::multi_index::get<
- BOOST_DEDUCED_TYPENAME base_::logic_relation_set_tag
- >(core)
- ),
-
- core(al),
-
- left (
- ::boost::multi_index::get<
- BOOST_DEDUCED_TYPENAME base_::logic_left_tag
- >(core)
- ),
- right (
- ::boost::multi_index::get<
- BOOST_DEDUCED_TYPENAME base_::logic_right_tag
- >(core)
- )
-
- {}
-
- template< class InputIterator >
- bimap(InputIterator first,InputIterator last,const allocator_type& al = allocator_type()) :
-
- base_::relation_set(
- ::boost::multi_index::get<
- BOOST_DEDUCED_TYPENAME base_::logic_relation_set_tag
- >(core)
- ),
-
- core(first,last,BOOST_DEDUCED_TYPENAME base_::core_type::ctor_args_list(),al),
-
- left (
- ::boost::multi_index::get<
- BOOST_DEDUCED_TYPENAME base_::logic_left_tag
- >(core)
- ),
- right (
- ::boost::multi_index::get<
- BOOST_DEDUCED_TYPENAME base_::logic_right_tag
- >(core)
- )
-
- {}
-
- bimap(const bimap& x) :
-
- base_::relation_set(
- ::boost::multi_index::get<
- BOOST_DEDUCED_TYPENAME base_::logic_relation_set_tag
- >(core)
- ),
-
- core(x.core),
-
- left (
- ::boost::multi_index::get<
- BOOST_DEDUCED_TYPENAME base_::logic_left_tag
- >(core)
- ),
- right (
- ::boost::multi_index::get<
- BOOST_DEDUCED_TYPENAME base_::logic_right_tag
- >(core)
- )
+ typedef BOOST_DEDUCED_TYPENAME base_::logic_relation_set_tag
+ logic_relation_set_tag;
+ typedef BOOST_DEDUCED_TYPENAME base_::logic_left_tag logic_left_tag;
+ typedef BOOST_DEDUCED_TYPENAME base_::logic_right_tag logic_right_tag;
+ typedef BOOST_DEDUCED_TYPENAME base_::core_type::ctor_args_list
+ ctor_args_list;
+
+ bimap(const allocator_type& al = allocator_type()) :
+
+ base_::relation_set(
+ ::boost::multi_index::get<
+ logic_relation_set_tag
+ >(core)
+ ),
+
+ core(al),
+
+ left (
+ ::boost::multi_index::get<
+ logic_left_tag
+ >(core)
+ ),
+ right (
+ ::boost::multi_index::get<
+ logic_right_tag
+ >(core)
+ )
+
+ {}
+
+ template< class InputIterator >
+ bimap(InputIterator first,InputIterator last,
+ const allocator_type& al = allocator_type()) :
+
+ base_::relation_set(
+ ::boost::multi_index::get<logic_relation_set_tag>(core)
+ ),
+
+ core(first,last,ctor_args_list(),al),
+
+ left (
+ ::boost::multi_index::get<logic_left_tag>(core)
+ ),
+ right (
+ ::boost::multi_index::get<logic_right_tag>(core)
+ )
+
+ {}
+
+ bimap(const bimap& x) :
+
+ base_::relation_set(
+ ::boost::multi_index::get<logic_relation_set_tag>(core)
+ ),
+
+ core(x.core),
+
+ left (
+ ::boost::multi_index::get<logic_left_tag>(core)
+ ),
+ right (
+ ::boost::multi_index::get<logic_right_tag>(core)
+ )
 
- {}
+ {}
 
     bimap& operator=(const bimap& x)
     {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk