C++ Logo

STD-PROPOSALS

Advanced search

Subject: Re: [std-proposals] Attribute view
From: Ville Voutilainen (ville.voutilainen_at_[hidden])
Date: 2019-12-19 13:22:01


On Thu, 19 Dec 2019 at 21:09, Andrew Tomazos via Std-Proposals
<std-proposals_at_[hidden]> wrote:
>
> I think this is a problem worth solving. Its against a C++ design principle that built-in references (like const std;:string&) have the lifetime extension feature, whereas user-defined reference-like classes (like std::string_view) do not. In particular, this is one the arguments against migrating from const std::string& to std::string_view.
>
> I encourage you to submit a proposal for C++23: https://isocpp.org/std/submit-a-proposal

We already have one:
http://open-std.org/JTC1/SC22/WG21/docs/papers/2019/p1179r1.pdf


STD-PROPOSALS list run by std-proposals-owner@lists.isocpp.org

Standard Proposals Archives on Google Groups