mirror of
https://github.com/boostorg/container.git
synced 2025-08-02 22:14:26 +02:00
Fixed compilation error in C++03 compilers and updated changelist with initializer_lists.
This commit is contained in:
@@ -803,9 +803,8 @@ implements the C++11 changes that were specified in [@http://www.open-std.org/jt
|
||||
|
||||
[section:initializer_lists Initializer lists]
|
||||
|
||||
[*Boost.Container] does not support initializer lists when constructing or assigning containers
|
||||
but it will support it for compilers with initialized-list support. This feature won't be backported
|
||||
to C++03 compilers.
|
||||
[*Boost.Container] supports initialization, assignments and insertions from initializer lists
|
||||
but only in compilers that implement this feature.
|
||||
|
||||
[endsect]
|
||||
|
||||
@@ -1057,6 +1056,7 @@ use [*Boost.Container]? There are several reasons for that:
|
||||
[section:release_notes Release Notes]
|
||||
|
||||
[section:release_notes_boost_1_57_00 Boost 1.57 Release]
|
||||
* Added support for `initializer_list`. Contributed by Robert Matusewicz.
|
||||
* Fixed bugs:
|
||||
* [@https://svn.boost.org/trac/boost/ticket/10263 Trac #10263 (['"AIX 6.1 bug with sched_yield() function out of scope"])].
|
||||
|
||||
|
@@ -501,10 +501,10 @@ int main()
|
||||
if(!boost::container::test::test_emplace<flat_multiset<test::EmplaceInt>, SetOptions>())
|
||||
return 1;
|
||||
|
||||
if(!test_support_for_initialization_list_for<flat_set<int>>())
|
||||
if(!test_support_for_initialization_list_for<flat_set<int> >())
|
||||
return 1;
|
||||
|
||||
if(!test_support_for_initialization_list_for<flat_multiset<int>>())
|
||||
if(!test_support_for_initialization_list_for<flat_multiset<int> >())
|
||||
return 1;
|
||||
|
||||
////////////////////////////////////
|
||||
|
Reference in New Issue
Block a user