Re: [committed] libstdc++: Make 16-bit std::subtract_with_carry_engine work [PR107466]

2022-11-28 Thread Jonathan Wakely via Gcc-patches
On Mon, 28 Nov 2022 at 15:20, Jonathan Wakely via Libstdc++ < libstd...@gcc.gnu.org> wrote: > Tested x86_64-linux. Pushed to trunk. > I didn't notice until my mailer flagged it that this commit has a non-ASCII character. Fixed by the attached patch, pushed to trunk. commit

[committed] libstdc++: Make 16-bit std::subtract_with_carry_engine work [PR107466]

2022-11-28 Thread Jonathan Wakely via Gcc-patches
Tested x86_64-linux. Pushed to trunk. -- >8 -- This implements the proposed resolution of LWG 3809, so that std::subtract_with_carry_engine can be used with a 16-bit result_type. Currently this produces a narrowing error when instantiating the std::linear_congruential_engine to create the