mirror of
https://github.com/boostorg/container.git
synced 2026-01-25 16:52:48 +01:00
Update static assert test and remove unneeded <string> include.
This commit is contained in:
@@ -577,8 +577,8 @@ int main()
|
||||
typedef boost::container::allocator_traits<allocator_type>::pointer pointer;
|
||||
BOOST_STATIC_ASSERT_MSG
|
||||
( (boost::has_trivial_destructor_after_move<cont>::value ==
|
||||
boost::has_trivial_destructor_after_move<allocator_type>::value ||
|
||||
boost::has_trivial_destructor_after_move<pointer>::value),
|
||||
(boost::has_trivial_destructor_after_move<allocator_type>::value &&
|
||||
boost::has_trivial_destructor_after_move<pointer>::value)),
|
||||
"has_trivial_destructor_after_move(default allocator) test failed");
|
||||
}
|
||||
// std::allocator
|
||||
@@ -588,8 +588,8 @@ int main()
|
||||
typedef boost::container::allocator_traits<allocator_type>::pointer pointer;
|
||||
BOOST_STATIC_ASSERT_MSG
|
||||
( (boost::has_trivial_destructor_after_move<cont>::value ==
|
||||
boost::has_trivial_destructor_after_move<allocator_type>::value ||
|
||||
boost::has_trivial_destructor_after_move<pointer>::value),
|
||||
(boost::has_trivial_destructor_after_move<allocator_type>::value &&
|
||||
boost::has_trivial_destructor_after_move<pointer>::value)),
|
||||
"has_trivial_destructor_after_move(std::allocator) test failed");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user