Topic: optional -- errata


Author: Tony V E <tvaneerd@gmail.com>
Date: Thu, 7 Feb 2013 14:24:18 -0500
Raw View
Since I was reading through the proposal anyhow, I jotted down some
small stuff as I went along.  Hopefully if you search for each snippet
I quote, you can find it in your doc.


-------


"Any valid initialization scheme must provide a way to put an optional
objects to any of these states"

objects -> object


-------


It becomes even ore useful in copy-initialization contextx like
returning values from functions

contextx -> context


-------


However, that causes first the creation od disengaged optional, and
then copying it multiple times

od -> of

and again:  lack od default constructor


-------


if (opt2 == {}) ...        // ilegal

ilegal -> illegal


-------


 unclear if the author did not really intend to comare two T's.

comare -> compare


-------


With additional requirement that optional's move constructor should
not be trivial

-> With *the* additional requirement...


-------



This controversy is charachteristic not only of optional.

charachteristic -> characteristic


-------


Returning lvalue reference might prevent move optimizationreturning an rvalue

-> optimization; returning


-------



painfully_compte_default -> painfully_compute_default
(in a few places)


-------


diverge from one another in terms of the interface: mpart pointers have ptr
mpart -> smart



-------


We chose not topropose it.


-------




Undoubtadly, it spares you from an explicit if-statement and a
two-phase initialization

-> Undoubtedly


-------



 The address stored by the optional object can be canged or set to a
value that does not represent a valid address.

canged -> changed


-------



or a possibli cv-qualified reference
possibly


-------



Being engaged or disengaged is part of the state optional object's state.
->
Being engaged or disengaged is part of the optional object's state.


-------




The reson to provide such genereic assignment
-> generic


-------



with forwarded argument pack as parameters.
with the forwarded argument pack as parameters.


-------


Tony

--

---
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 email 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-proposals/?hl=en.



.


Author: =?UTF-8?Q?Andrzej_Krzemie=C5=84ski?= <akrzemi1@gmail.com>
Date: Thu, 7 Feb 2013 11:43:33 -0800 (PST)
Raw View
------=_Part_607_24503685.1360266213416
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable



W dniu czwartek, 7 lutego 2013 20:24:18 UTC+1 u=BFytkownik Tony V E napisa=
=B3:
>
> Since I was reading through the proposal anyhow, I jotted down some=20
> small stuff as I went along.  Hopefully if you search for each snippet=20
> I quote, you can find it in your doc.=20
>
=20
Thanks :) I fixed them.
&rzej=20

--=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/?hl=3Den.



------=_Part_607_24503685.1360266213416
Content-Type: text/html; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable

<br><br>W dniu czwartek, 7 lutego 2013 20:24:18 UTC+1 u=BFytkownik Tony V E=
 napisa=B3:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left=
: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Since I was reading=
 through the proposal anyhow, I jotted down some
<br>small stuff as I went along. &nbsp;Hopefully if you search for each sni=
ppet
<br>I quote, you can find it in your doc.
<br></blockquote><div>&nbsp;<br>Thanks :) I fixed them.<br>&amp;rzej <br></=
div>

<p></p>

-- <br />
&nbsp;<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.<br />
To post to this group, send email to std-proposals@isocpp.org.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/?hl=3Den">http://groups.google.com/a/isocpp.org/group/std-pro=
posals/?hl=3Den</a>.<br />
&nbsp;<br />
&nbsp;<br />

------=_Part_607_24503685.1360266213416--

.