Navigation Menu

Skip to content

Commit

Permalink
merged [85497] from trunk
Browse files Browse the repository at this point in the history
[SVN r85509]
  • Loading branch information
joaquintides committed Aug 29, 2013
1 parent 078944b commit 590e3d1
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions include/boost/multi_index_container.hpp
Expand Up @@ -188,28 +188,21 @@ class multi_index_container:

/* 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

Expand All @@ -218,7 +211,7 @@ class multi_index_container:
node_count(0)
{
BOOST_MULTI_INDEX_CHECK_INVARIANT;
}
}

explicit multi_index_container(const allocator_type& al):
bfm_allocator(al),
Expand Down

0 comments on commit 590e3d1

Please sign in to comment.