C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Floating an idea: std::cstring_view

From: Jens Maurer <jens.maurer_at_[hidden]>
Date: Fri, 30 Aug 2024 21:13:15 +0200
On 30/08/2024 20.04, Jeremy Rifkin via Std-Proposals wrote:
> constexpr basic_cstring_view substr(size_type pos = 0) const;
> // freestanding-deleted

I think we also want a substr overload with a length parameter
that yields a string_view.

Jens

Received on 2024-08-30 19:13:18