libstdc++ provide both string.h and cstring with const-correct strchr, at least according to my testing.


On 23 October 2022 13:29:14 BST, Ville Voutilainen via Std-Proposals <std-proposals@lists.isocpp.org> wrote:
On Sun, 23 Oct 2022 at 15:27, blacktea hamburger via Std-Proposals
<std-proposals@lists.isocpp.org> wrote:

Why? The C library needs to be changed because its implementation is not necessarily constexpr.

Not the underlying one, the one that in some implementations is
system-provided. C++ implementations
can and do provide their own implementations of <cstdlib> and <cmath>.
--
Std-Proposals mailing list
Std-Proposals@lists.isocpp.org
https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals