This is in response to failures seen after landing D138307.
Details
- Reviewers
tahonermann ldionne - Group Reviewers
Restricted Project - Commits
- rG08a0faf4cd32: [libc++] Keep char_traits<T> for arbitrary T around until LLVM 18
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Note that I'll land this as soon as I get a green CI run to unbreak the downstreams that were impacted by D138307. We can make additional tweaks post-commit as needed.
Upon looking at the Bootstrapping build issue, I'm pretty sure it's not related to this patch. I'll land this now.
libcxx/test/std/utilities/format/format.formattable/concept.formattable.compile.pass.cpp | ||
---|---|---|
84 | Yes that is intended. When you look at assert_is_formattable the only formattable CharT's are char and wchar_t. So char8_t, char16_t, char32_t and non character types like int are never formattable. I agree with the change; I didn't noticed before since the basic_string and basic_string_view "worked" with ints. Thanks for the fix. |
@Mordante Did you really mean to test std::format with a character type of int? Is that meaningful?