C++ Logo

std-proposals

Advanced search

Re: Attribute view

From: Tae Lim Kook <uruwi_at_[hidden]>
Date: Thu, 19 Dec 2019 17:11:49 +0000
> 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.

Received on 2019-12-19 11:14:25