Topic: Generalized lifetime extension, second draft
Author: David Krauss <potswa@gmail.com>
Date: Thu, 9 Oct 2014 18:56:53 +0800
Raw View
--Apple-Mail=_5B7F0AE6-C2E6-4218-A082-549EDBA963FC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=ISO-8859-1
Abstract:
---
This proposal introduces a model to describe the connection between a value=
and the object or objects needed to represent it. This enables a generaliz=
ation of lifetime extension, applicable to constructors and accessor functi=
ons which opt in using the export keyword. The current lifetime extension b=
ehavior is also more elegantly described, and the "temporary expression" co=
ntroversy is resolved. This resolves EWG 120 and many other dangling refere=
nce issues.
---
The second draft is in the same place as where the first draft was:
Link: http://bit.ly/1vzN57X
It should be fairly complete now. There are a lot of small changes, and a d=
erivation (of sorts) is provided for the semantics, separately from the rat=
ionale.
--=20
---=20
You received this message because you are subscribed to the Google Groups "=
ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposa=
ls/.
--Apple-Mail=_5B7F0AE6-C2E6-4218-A082-549EDBA963FC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=ISO-8859-1
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html charset=
=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-=
mode: space; -webkit-line-break: after-white-space;"><div>Abstract:</div><d=
iv>–––</div><div>This proposal introduces a model to desc=
ribe the connection between a value and the object or objects needed to rep=
resent it. This enables a generalization of lifetime extension, applic=
able to constructors and accessor functions which opt in using the <fo=
nt face=3D"Courier">export</font> keyword. The current lifetime extens=
ion behavior is also more elegantly described, and the “temporary exp=
ression” controversy is resolved. This resolves EWG 120 and many=
other dangling reference issues.<br>–––</div><div><br></=
div>The second draft is in the same place as where the first draft was:<div=
><br></div><div>Link: <a href=3D"http://bit.ly/1vzN57X">http://bit.ly/=
1vzN57X</a></div><div><br></div><div>It should be fairly complete now. Ther=
e are a lot of small changes, and a derivation (of sorts) is provided for t=
he semantics, separately from the rationale.</div></body></html>
<p></p>
-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />
--Apple-Mail=_5B7F0AE6-C2E6-4218-A082-549EDBA963FC--
.