We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f587c71 commit 860bec2Copy full SHA for 860bec2
libcxx/include/__exception/exception_ptr.h
@@ -142,7 +142,7 @@ _LIBCPP_HIDE_FROM_ABI exception_ptr make_exception_ptr(_Ep __e) _NOEXCEPT {
142
return std::__make_exception_ptr_via_throw(__e);
143
}
144
145
-# if _LIBCPP_AVAILABILITY_HAS_INIT_PRIMARY_EXCEPTION && __cplusplus >= 201103L
+# if _LIBCPP_AVAILABILITY_HAS_INIT_PRIMARY_EXCEPTION && !defined(_LIBCPP_CXX03_LANG)
146
return std::__make_exception_ptr_explicit(__e);
147
# else
148
0 commit comments