[libcxx-commits] [PATCH] D115988: [libc++][format] Adds formatter pointer.
Mark de Wever via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Dec 18 04:19:06 PST 2021
Mordante added inline comments.
================
Comment at: libcxx/include/__format/format_arg.h:246
+ template <class _Tp>
+ requires is_void_v<_Tp> _LIBCPP_HIDE_FROM_ABI explicit basic_format_arg(_Tp* __p) noexcept
+ : __ptr(__p), __type_(__format::__arg_t::__ptr) {}
----------------
There are no tests that non-void pointers are rejected. These are added in D115989.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115988/new/
https://reviews.llvm.org/D115988
More information about the libcxx-commits
mailing list