|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r85497 - trunk/boost
From: joaquin_at_[hidden]
Date: 2013-08-28 02:38:30
Author: joaquin
Date: 2013-08-28 02:38:30 EDT (Wed, 28 Aug 2013)
New Revision: 85497
URL: http://svn.boost.org/trac/boost/changeset/85497
Log:
suppressed preliminary solution to EWG issue 2193 due to problems described at http://cplusplus.github.io/LWG/lwg-active.html#2193
Text files modified:
trunk/boost/multi_index_container.hpp | 23 ++++++++---------------
1 files changed, 8 insertions(+), 15 deletions(-)
Modified: trunk/boost/multi_index_container.hpp
==============================================================================
--- trunk/boost/multi_index_container.hpp Tue Aug 27 20:55:08 2013 (r85496)
+++ trunk/boost/multi_index_container.hpp 2013-08-28 02:38:30 EDT (Wed, 28 Aug 2013) (r85497)
@@ -188,28 +188,21 @@
/* construct/copy/destroy */
- /* Do not merge this ctor with the following waiting for resolution of
- * EWG issue 2193.
- */
-
- multi_index_container():
- bfm_allocator(allocator_type()),
- super(ctor_args_list(),bfm_allocator::member),
- node_count(0)
- {
- BOOST_MULTI_INDEX_CHECK_INVARIANT;
- }
-
explicit multi_index_container(
- const ctor_args_list& args_list,
#if BOOST_WORKAROUND(__IBMCPP__,<=600)
- /* VisualAge seems to have an ETI issue with the default value of al */
+ /* VisualAge seems to have an ETI issue with the default values
+ * for arguments args_list and al.
+ */
+ const ctor_args_list& args_list=
+ typename mpl::identity<multi_index_container>::type::
+ ctor_args_list(),
const allocator_type& al=
typename mpl::identity<multi_index_container>::type::
allocator_type()):
#else
+ const ctor_args_list& args_list=ctor_args_list(),
const allocator_type& al=allocator_type()):
#endif
@@ -218,7 +211,7 @@
node_count(0)
{
BOOST_MULTI_INDEX_CHECK_INVARIANT;
- }
+ }
explicit multi_index_container(const allocator_type& al):
bfm_allocator(al),
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