Merge branch 'noexcept-swap' of https://github.com/palebedev/container into palebedev-noexcept-swap

This commit is contained in:
Ion Gaztañaga
2021-01-02 00:38:31 +01:00
13 changed files with 34 additions and 8 deletions
+2
View File
@@ -2012,6 +2012,8 @@ class devector
{ return !(x < y); }
BOOST_CONTAINER_FORCEINLINE friend void swap(devector& x, devector& y)
BOOST_NOEXCEPT_IF( allocator_traits_type::propagate_on_container_swap::value
|| allocator_traits_type::is_always_equal::value)
{ x.swap(y); }
private: