@@ -209,12 +209,11 @@ class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI unique_ptr {
209209 template <bool _Dummy = true , class = _EnableIfDeleterConstructible<_BadRValRefType<_Dummy> > >
210210 _LIBCPP_HIDE_FROM_ABI unique_ptr (pointer __p, _BadRValRefType<_Dummy> __d) = delete;
211211
212- _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23
213212#if _LIBCPP_STD_VER >= 20
214- unique_ptr (unique_ptr&& __u) noexcept
213+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 unique_ptr (unique_ptr&& __u) noexcept
215214 requires is_move_constructible_v<_Dp>
216215#else
217- unique_ptr (_If<is_move_constructible<_Dp>::value, unique_ptr&&, __nat> __u) _NOEXCEPT
216+ _LIBCPP_HIDE_FROM_ABI unique_ptr (_If<is_move_constructible<_Dp>::value, unique_ptr&&, __nat> __u) _NOEXCEPT
218217#endif
219218 : __ptr_(__u.release()), __deleter_(std::forward<deleter_type>(__u.get_deleter())) {
220219 }
@@ -233,12 +232,11 @@ class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI unique_ptr {
233232 _LIBCPP_HIDE_FROM_ABI unique_ptr (auto_ptr<_Up>&& __p) _NOEXCEPT : __ptr_(__p.release()), __deleter_() {}
234233#endif
235234
236- _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 unique_ptr&
237235#if _LIBCPP_STD_VER >= 20
238- operator =(unique_ptr&& __u) noexcept
236+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 unique_ptr& operator =(unique_ptr&& __u) noexcept
239237 requires is_move_assignable_v<_Dp>
240238#else
241- operator =(_If<is_move_assignable<_Dp>::value, unique_ptr&&, __nat> __u) _NOEXCEPT
239+ _LIBCPP_HIDE_FROM_ABI unique_ptr& operator =(_If<is_move_assignable<_Dp>::value, unique_ptr&&, __nat> __u) _NOEXCEPT
242240#endif
243241 {
244242 reset (__u.release ());
@@ -544,24 +542,22 @@ class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI unique_ptr<_Tp[], _Dp> {
544542 class = _EnableIfPointerConvertible<_Pp> >
545543 _LIBCPP_HIDE_FROM_ABI unique_ptr (_Pp __ptr, _BadRValRefType<_Dummy> __deleter) = delete;
546544
547- _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23
548545#if _LIBCPP_STD_VER >= 20
549- unique_ptr (unique_ptr&& __u) noexcept
546+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 unique_ptr (unique_ptr&& __u) noexcept
550547 requires is_move_constructible_v<_Dp>
551548#else
552- unique_ptr (_If<is_move_constructible<_Dp>::value, unique_ptr&&, __nat> __u) _NOEXCEPT
549+ _LIBCPP_HIDE_FROM_ABI unique_ptr (_If<is_move_constructible<_Dp>::value, unique_ptr&&, __nat> __u) _NOEXCEPT
553550#endif
554551 : __ptr_(__u.release()),
555552 __deleter_ (std::forward<deleter_type>(__u.get_deleter())),
556553 __checker_(std::move(__u.__checker_)) {
557554 }
558555
559- _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 unique_ptr&
560556#if _LIBCPP_STD_VER >= 20
561- operator =(unique_ptr&& __u) noexcept
557+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 unique_ptr& operator =(unique_ptr&& __u) noexcept
562558 requires is_move_assignable_v<_Dp>
563559#else
564- operator =(_If<is_move_assignable<_Dp>::value, unique_ptr&&, __nat> __u) _NOEXCEPT
560+ _LIBCPP_HIDE_FROM_ABI unique_ptr& operator =(_If<is_move_assignable<_Dp>::value, unique_ptr&&, __nat> __u) _NOEXCEPT
565561#endif
566562 {
567563 reset (__u.release ());
0 commit comments