Date: Sun, 1 May 2022 20:48:05 +0200
On 2022-05-01 at 11:37, Abdullah Qasim via Std-Proposals wrote:
> void replace (const char* const to_replace, const char* const with,
> char* to_change)
>
> char* replace (const char* const, const char* const)
>
>
If you use std::string instead of char*, you already have 9 different
versions of replace
https://en.cppreference.com/w/cpp/string/basic_string/replace
> void replace (const char* const to_replace, const char* const with,
> char* to_change)
>
> char* replace (const char* const, const char* const)
>
>
If you use std::string instead of char*, you already have 9 different
versions of replace
https://en.cppreference.com/w/cpp/string/basic_string/replace
Received on 2022-05-01 18:48:15