Skip to content

Commit

Permalink
Unguard implementation details
Browse files Browse the repository at this point in the history
  • Loading branch information
frederick-vs-ja authored Sep 10, 2024
1 parent a737863 commit 5a7cec4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions libcxx/include/future
Original file line number Diff line number Diff line change
Expand Up @@ -1460,10 +1460,8 @@ public:
_LIBCPP_HIDE_FROM_ABI __packaged_task_function() _NOEXCEPT : __f_(nullptr) {}
template <class _Fp>
_LIBCPP_HIDE_FROM_ABI __packaged_task_function(_Fp&& __f);
# if _LIBCPP_STD_VER <= 14
template <class _Fp, class _Alloc>
_LIBCPP_HIDE_FROM_ABI __packaged_task_function(allocator_arg_t, const _Alloc& __a, _Fp&& __f);
# endif

_LIBCPP_HIDE_FROM_ABI __packaged_task_function(__packaged_task_function&&) _NOEXCEPT;
_LIBCPP_HIDE_FROM_ABI __packaged_task_function& operator=(__packaged_task_function&&) _NOEXCEPT;
Expand Down Expand Up @@ -1509,7 +1507,6 @@ __packaged_task_function<_Rp(_ArgTypes...)>::__packaged_task_function(_Fp&& __f)
}
}

# if _LIBCPP_STD_VER <= 14
template <class _Rp, class... _ArgTypes>
template <class _Fp, class _Alloc>
__packaged_task_function<_Rp(_ArgTypes...)>::__packaged_task_function(allocator_arg_t, const _Alloc& __a0, _Fp&& __f)
Expand All @@ -1528,7 +1525,6 @@ __packaged_task_function<_Rp(_ArgTypes...)>::__packaged_task_function(allocator_
__f_ = std::addressof(*__hold.release());
}
}
# endif

template <class _Rp, class... _ArgTypes>
__packaged_task_function<_Rp(_ArgTypes...)>&
Expand Down

0 comments on commit 5a7cec4

Please sign in to comment.