[libcxx-commits] [libcxx] [libc++][format] Handle range-underlying-spec (PR #81914)

Po-yao Chang via libcxx-commits libcxx-commits at lists.llvm.org
Fri Feb 16 09:55:31 PST 2024


poyaoc97 wrote:

> I think it would be more future proof to handle tuple the same and get a slightly worse error message.

OK, will update the patch tmr. Looks like it would bump into `std::__throw_format_error("The format specifier should consume the input or end with a '}'");`, no big deal.

> If tuple gets an underlying format-spec we're less likely to reintroduce this bug. (I am investigating this feature for a future C++ proposal.)

Do you have a timeline you would like to share? :)
Would be cool to see it on the C++26 train.

https://github.com/llvm/llvm-project/pull/81914


More information about the libcxx-commits mailing list