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 e647f47 commit ca8f571Copy full SHA for ca8f571
libcxx/include/__exception/exception_ptr.h
@@ -100,7 +100,7 @@ _LIBCPP_HIDE_FROM_ABI exception_ptr make_exception_ptr(_Ep __e) _NOEXCEPT {
100
// to not break some ObjC invariants. ObjC types are thrown by a pointer, hence the condition;
101
// although it does also trigger for some valid c++ usages, this should be a case rare enough to
102
// not complicate the condition any further
103
- if constexpr (std::is_pointer_v<_Ep>) {
+ if constexpr (is_pointer<_Ep>::value) {
104
try {
105
throw __e;
106
} catch (...) {
0 commit comments