C++ Logo

STD-PROPOSALS

Advanced search

Subject: Re: [std-proposals] Attribute view
From: Tae Lim Kook (uruwi_at_[hidden])
Date: 2019-12-19 11:11:49


> The proposed solution is to add a new attribute, called view in the
> following, to the argument, that indicates that the extension of the
> lifetime is desired.

I'd add this feature as a contextual keyword instead of an attribute, since it changes the semantics of a program.

Otherwise, I'd like to see an example of how it would be used.

-- T.


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

Standard Proposals Archives on Google Groups