[libcxx-commits] [flang] [mlir] [libcxx] [clang] [clang-tools-extra] [llvm] [libc] [compiler-rt] [lld] [lldb] [libc++][format] P2637R3: Member `visit` (`std::basic_format_arg`) (PR #76449)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jan 18 11:35:52 PST 2024


================
@@ -193,7 +194,8 @@ _LIBCPP_HIDE_FROM_ABI _Rp __visit_format_arg(_Visitor&& __vis, basic_format_arg<
 
   __libcpp_unreachable();
 }
-#  endif
+
+#  endif // if _LIBCPP_STD_VER >= 26
----------------
mordante wrote:

```suggestion
#  endif // if _LIBCPP_STD_VER >= 26  && defined(__cpp_explicit_this_parameter)
```

https://github.com/llvm/llvm-project/pull/76449


More information about the libcxx-commits mailing list