[libcxx-commits] [libcxx] [libc++][format] P2637R3: Member `visit` (`std::basic_format_arg`) (PR #76449)
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Dec 30 04:28:14 PST 2023
================
@@ -227,6 +278,46 @@ class _LIBCPP_TEMPLATE_VIS basic_format_arg {
_LIBCPP_HIDE_FROM_ABI explicit operator bool() const noexcept { return __type_ != __format::__arg_t::__none; }
+# if _LIBCPP_STD_VER >= 26
----------------
mordante wrote:
Please copy the original comment for both new functions.
```
// This function is user facing, so it must wrap the non-standard types of
// the "variant" in a handle to stay conforming. See __arg_t for more details.
```
https://github.com/llvm/llvm-project/pull/76449
More information about the libcxx-commits
mailing list