Thanks to everyone so far for pointing out oversights and errors, I've updated my proposal with the given feedback, and I've added a sample Github project with implementation and unit tests.Sincerely,Op do 14 mrt 2024 om 09:00 schreef Jonathan Wakely <cxx@kayari.org>:On Thu, 14 Mar 2024, 07:50 Rhidian De Wit via Std-Proposals, <std-proposals@lists.isocpp.org> wrote:Hi all,With some helpful suggestions, I'd like to present my draft proposal for the inclusion of several new utility functions to be added to std::basic_string.Please reach out if you have any questions, concerns or feedback!Your example implementations for both slice functions have undefined behaviour of the start is out of range. Is that intentional? It's not possible to tell because your technical specification doesn't really follow the form of standard specifications.--Sincerely,--Rhidian De WitSoftware Engineer - Barco
Std-Proposals mailing list
Std-Proposals@lists.isocpp.org
https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
--Rhidian De WitSoftware Engineer - Barco