A new WG21 paper is available. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.
Document number: N4127
Date: 2014-07-20
Checked-dereference conditions
by Eelis van der Weegen
Excerpt:
This is a proposal to add a new form of condition...
For example,
if (T x : e) s
translates toif (auto && __p = e) { T x = *__p; s }
for some invisible name__p
.Translation for the new form of condition in a
while
orfor
loop is analogous.The "next generation" version where the type defaults to auto && is also proposed.
Add a Comment
Comments are closed.