[libcxx-commits] [libcxx] [libc++] Use std::to_chars to format thread::id and canonicalize the representation across platforms (PR #181624)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Mar 6 09:59:28 PST 2026
================
----------------
ldionne wrote:
This explains why @mordante originally implemented it that way. You mention the output may change: can you describe it changes from what to what?
Can you also confim that there is nothing normative requiring `thread::id`'s `std::format` result to match the stream output operators? If that's the case, then I guess it just means that @mordante wanted to provide that guarantee as a QOI matter but it's not required by the Standard, and we can consider this change. If there's normative wording to that effect, well, we can't make this change.
https://github.com/llvm/llvm-project/pull/181624
More information about the libcxx-commits
mailing list