[libcxx-commits] [PATCH] D115989: [libc++][format] Disable default formatter.
Victor Zverovich via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Dec 19 08:55:54 PST 2021
vitaut added inline comments.
================
Comment at: libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/types.compile.pass.cpp:268
+ assert_formatter_is_disabled<std::optional<int>, CharT>();
+ assert_formatter_is_disabled<std::variant<int>, CharT>();
+}
----------------
Quuxplusone wrote:
> ```
> assert_formatter_is_disabled<const int*, CharT>();
> assert_formatter_is_disabled<c, CharT>();
> assert_formatter_is_disabled<c*, CharT>();
> assert_formatter_is_disabled<const c*, CharT>();
> assert_formatter_is_disabled<const char*, wchar_t>();
> assert_formatter_is_disabled<const char*, char8_t>(); // ?
> ```
Maybe also test `volatile int*` for completeness?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115989/new/
https://reviews.llvm.org/D115989
More information about the libcxx-commits
mailing list