Skip to content

Commit 510786c

Browse files
committed
Forward declare the swap overload
1 parent 3c910b8 commit 510786c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libcxx/include/__exception/exception_ptr.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ _LIBCPP_BEGIN_UNVERSIONED_NAMESPACE_STD
6262

6363
#ifndef _LIBCPP_ABI_MICROSOFT
6464

65+
inline _LIBCPP_HIDE_FROM_ABI void swap(exception_ptr& __x, exception_ptr& __y) _NOEXCEPT;
66+
6567
class _LIBCPP_EXPORTED_FROM_ABI exception_ptr {
6668
void* __ptr_;
6769

0 commit comments

Comments
 (0)