C++ Logo

std-proposals

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
Hi,

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

Cheers,
Lénárd


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
>wrote:
>> 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
>Std-Proposals_at_[hidden]
>https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals

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