C++ Logo

sg16

Advanced search

Re: [isocpp-sg16] P3673R0: std::wprint/std::wprintln - wide-character string overloads for std::print and std::println function templates

From: Thiago Macieira <thiago_at_[hidden]>
Date: Sun, 26 Oct 2025 15:19:30 -0700
On Sunday, 26 October 2025 14:34:44 Pacific Daylight Time Tymi via SG16 wrote:
> I find a need for wide-character
> formatted output to be standardised.

Why? There's exactly one system where this makes any sense at all. I agree it
would be nice to have such functions there, but bringing the burden to every
single other system to also have them seems too much to me. They could simply
be an extension provided by compilers in that OS, and would not make the code
any worse given people already need to #if for fopen() / wfopen().

I'd argue that standardising std::u16print() would be more useful.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Principal Engineer - Intel Data Center Group

Received on 2025-10-26 22:19:34