mirror of
https://github.com/boostorg/container.git
synced 2025-08-02 14:04:26 +02:00
@@ -688,6 +688,13 @@ use [*Boost.Container]? There are several reasons for that:
|
|||||||
|
|
||||||
[section:release_notes Release Notes]
|
[section:release_notes Release Notes]
|
||||||
|
|
||||||
|
[section:release_notes_boost_1_55_00 Boost 1.55 Release]
|
||||||
|
|
||||||
|
* Fixed bugs [@https://svn.boost.org/trac/boost/ticket/8892 #8892],
|
||||||
|
[@https://svn.boost.org/trac/boost/ticket/8473 #8473].
|
||||||
|
|
||||||
|
[endsect]
|
||||||
|
|
||||||
[section:release_notes_boost_1_54_00 Boost 1.54 Release]
|
[section:release_notes_boost_1_54_00 Boost 1.54 Release]
|
||||||
|
|
||||||
* Added experimental `static_vector` class, based on Andrew Hundt's and Adam Wulkiewicz's
|
* Added experimental `static_vector` class, based on Andrew Hundt's and Adam Wulkiewicz's
|
||||||
|
@@ -475,6 +475,13 @@ int main()
|
|||||||
{
|
{
|
||||||
using namespace boost::container::test;
|
using namespace boost::container::test;
|
||||||
|
|
||||||
|
//Allocator argument container
|
||||||
|
{
|
||||||
|
flat_set<int> set_((std::allocator<int>()));
|
||||||
|
flat_multiset<int> multiset_((std::allocator<int>()));
|
||||||
|
flat_map<int, int> map_((std::allocator<std::pair<int, int> >()));
|
||||||
|
flat_multimap<int, int> multimap_((std::allocator<std::pair<int, int> >()));
|
||||||
|
}
|
||||||
//Now test move semantics
|
//Now test move semantics
|
||||||
{
|
{
|
||||||
test_move<flat_set<recursive_flat_set> >();
|
test_move<flat_set<recursive_flat_set> >();
|
||||||
|
@@ -247,6 +247,13 @@ int main ()
|
|||||||
map<recursive_map, recursive_map> map_;
|
map<recursive_map, recursive_map> map_;
|
||||||
multimap<recursive_multimap, recursive_multimap> multimap_;
|
multimap<recursive_multimap, recursive_multimap> multimap_;
|
||||||
}
|
}
|
||||||
|
//Allocator argument container
|
||||||
|
{
|
||||||
|
set<int> set_((std::allocator<int>()));
|
||||||
|
multiset<int> multiset_((std::allocator<int>()));
|
||||||
|
map<int, int> map_((std::allocator<std::pair<const int, int> >()));
|
||||||
|
multimap<int, int> multimap_((std::allocator<std::pair<const int, int> >()));
|
||||||
|
}
|
||||||
//Now test move semantics
|
//Now test move semantics
|
||||||
{
|
{
|
||||||
test_move<set<recursive_set> >();
|
test_move<set<recursive_set> >();
|
||||||
@@ -255,7 +262,6 @@ int main ()
|
|||||||
test_move<multimap<recursive_multimap, recursive_multimap> >();
|
test_move<multimap<recursive_multimap, recursive_multimap> >();
|
||||||
}
|
}
|
||||||
|
|
||||||
//using namespace boost::container::detail;
|
|
||||||
|
|
||||||
if(0 != test::set_test<MyBoostSet
|
if(0 != test::set_test<MyBoostSet
|
||||||
,MyStdSet
|
,MyStdSet
|
||||||
|
Reference in New Issue
Block a user