C++ Logo


Advanced search

Re: [std-proposals] Return type of string_view::remove_suffix

From: Frederick Virchanza Gotham <cauldwell.thomas_at_[hidden]>
Date: Fri, 6 Jan 2023 15:47:09 +0000
On Fri, Jan 6, 2023 at 3:38 PM Federico Kircheis via Std-Proposals
<std-proposals_at_[hidden]> wrote:
> Why the overloads?
> string_view should be returned by copy
> I suppose it returns void because std::string member function returns void

I should book myself in for a day spa or at least a massage.

Received on 2023-01-06 15:47:21