mirror of
https://github.com/boostorg/poly_collection.git
synced 2026-07-21 13:33:37 +00:00
refined previous commit
This commit is contained in:
@@ -80,15 +80,6 @@ void test_allocator_aware_construction()
|
||||
*/
|
||||
|
||||
if(AlwaysEqual)
|
||||
#endif
|
||||
#if !defined(BOOST_MSVC)&&\
|
||||
BOOST_WORKAROUND(BOOST_DINKUMWARE_STDLIB,BOOST_TESTED_AT(804))
|
||||
/* Very odd behavior probably due to std::unordered_map allocator move ctor
|
||||
* being implemented with move assignment, as reported in
|
||||
* https://github.com/boostorg/poly_collection/issues/16
|
||||
*/
|
||||
|
||||
if(!(Propagate&&!AlwaysEqual))
|
||||
#endif
|
||||
{
|
||||
rooted_poly_collection p2{cp};
|
||||
@@ -110,6 +101,16 @@ void test_allocator_aware_construction()
|
||||
|
||||
BOOST_TEST(p2.empty());
|
||||
do_((BOOST_TEST(!p2.template is_registered<Types>()),0)...);
|
||||
|
||||
#if !defined(BOOST_MSVC)&&\
|
||||
BOOST_WORKAROUND(BOOST_DINKUMWARE_STDLIB,BOOST_TESTED_AT(804))
|
||||
/* Very odd behavior probably due to std::unordered_map allocator move
|
||||
* ctor being implemented with move assignment, as reported in
|
||||
* https://github.com/boostorg/poly_collection/issues/16
|
||||
*/
|
||||
|
||||
if(!(Propagate&&!AlwaysEqual))
|
||||
#endif
|
||||
BOOST_TEST(p3.get_allocator().comes_from(root2));
|
||||
}
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user