C++ Logo


Advanced search

Re: [std-proposals] Character classification functions should return bool

From: Lénárd Szolnoki <cpp_at_[hidden]>
Date: Sun, 23 Oct 2022 09:26:09 +0100

How is the slight strchr divergence between the C and C++ standard libraries handled?


On 22 October 2022 19:04:09 BST, Thiago Macieira via Std-Proposals <std-proposals_at_[hidden]> wrote:
>On Saturday, 22 October 2022 03:35:59 PDT blacktea hamburger via Std-Proposals
>> WG21's views are not necessarily the same as WG14. It may broke some code,
>> but it was probably code of the sort that has become increasingly rare over
>> the years since C++ diverged from C. C and C++ are different languages,
>> aren't they?
>> So I think it can be still proposed to WG21.
>Not exactly.
>On all operating systems except for Windows, the C library comes from the OS
>and the C++ library comes with the compiler, so they are separate
>implementations and have limitations on what the C++ standard can influence on
>the C library, even the <cxxxx> headers.
>So this change needs to take into account the difficulty in implementing it and
>evaluate whether it's worth the effort.
>Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
> Software Architect - Intel DCAI Cloud Engineering
>Std-Proposals mailing list

Received on 2022-10-23 08:26:18