File indexing completed on 2026-05-03 08:13:56
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef _LIBCPP___MEMORY_NOEXCEPT_MOVE_ASSIGN_CONTAINER_H
0010 #define _LIBCPP___MEMORY_NOEXCEPT_MOVE_ASSIGN_CONTAINER_H
0011
0012 #include <__config>
0013 #include <__memory/allocator_traits.h>
0014 #include <__type_traits/integral_constant.h>
0015 #include <__type_traits/is_nothrow_assignable.h>
0016
0017 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0018 # pragma GCC system_header
0019 #endif
0020
0021 _LIBCPP_BEGIN_NAMESPACE_STD
0022
0023 template <typename _Alloc, typename _Traits = allocator_traits<_Alloc> >
0024 struct __noexcept_move_assign_container
0025 : public integral_constant<bool,
0026 _Traits::propagate_on_container_move_assignment::value
0027 #if _LIBCPP_STD_VER >= 17
0028 || _Traits::is_always_equal::value
0029 #else
0030 && is_nothrow_move_assignable<_Alloc>::value
0031 #endif
0032 > {
0033 };
0034
0035 _LIBCPP_END_NAMESPACE_STD
0036
0037 #endif