C++ Logo

std-proposals

Advanced search

Re: [std-proposals] [std-proposal] std::wprint/std::wprintln

From: Jonathan Wakely <cxx_at_[hidden]>
Date: Tue, 1 Apr 2025 19:10:56 +0100
On Tue, 1 Apr 2025, 17:38 Simon Schröder via Std-Proposals, <
std-proposals_at_[hidden]> wrote:

> Does it have to be called std::wprint? Or should we just overload
> std::print with wchar_t?
>

Yes, that's what std::format does.


> Don‘t forget that in order for wprint to work you also need to write a
> proposal for the whole formatting (e.g. std::format_string) to allow for
> wide chars.
>

Doesn't that already work?

Received on 2025-04-01 18:11:13