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 bf5d0fa commit a1e8586Copy full SHA for a1e8586
libcxx/include/__exception/exception_ptr.h
@@ -96,7 +96,7 @@ class _LIBCPP_EXPORTED_FROM_ABI exception_ptr {
96
template <class _Ep>
97
_LIBCPP_HIDE_FROM_ABI exception_ptr make_exception_ptr(_Ep __e) _NOEXCEPT {
98
# if _LIBCPP_HAS_EXCEPTIONS
99
-# if _LIBCPP_AVAILABILITY_HAS_INIT_PRIMARY_EXCEPTION && __cplusplus >= 201703L
+# if _LIBCPP_AVAILABILITY_HAS_INIT_PRIMARY_EXCEPTION && __cplusplus >= 201103L
100
// Clang treats throwing ObjC types differently, and we have to preserve original throw-ing behavior
101
// to not break some ObjC invariants. ObjC types are thrown by a pointer, hence the condition;
102
// although it does also trigger for some valid c++ usages, this should be a case rare enough to
0 commit comments