Re: [boost] [optional] library documentation typo

----Original Message---- From: Felipe Magno de Almeida [mailto:felipe.m.almeida@gmail.com] Sent: 07 July 2005 13:55 To: boost@lists.boost.org Subject: [boost] [optional] library documentation typo
In the "The Interface" part, in the end of this text: <quote> For value access operations optional<> uses operators * and -> to lexically warn about the possibliy uninitialized state appealing to the familiar pointer semantics w.r.t. to null pointers. However, it is particularly important to note that optional<> objects are not pointers. optional<> is not, and does not model, a pointer.
For instance, optional<> has not shallow-copy
Should be "optional<> does not have shallow-copy" Don't ask me to explain the logic behind the rules of English!
so does not alias: two different optionals never refer to the same value unless T itself is an reference Should be "a reference"
(but my have equivalent values).
I agree, "(but may have equivalent values).
</quote> I think it should be: (but may have equivalent values).
may in the place of my...
Thanks for boost and best regards, Felipe.
-- Martin Bonner Martin.Bonner@Pitechnology.com Pi Technology, Milton Hall, Ely Road, Milton, Cambridge, CB4 6WZ, ENGLAND Tel: +44 (0)1223 441434

"Martin Bonner" <martin.bonner@pitechnology.com> escribió en el mensaje news:E562FCEE3A42D61192880002A5FB433302D7AD0E@kite.pigroup.co.uk...
----Original Message---- From: Felipe Magno de Almeida [mailto:felipe.m.almeida@gmail.com] Sent: 07 July 2005 13:55 To: boost@lists.boost.org Subject: [boost] [optional] library documentation typo
In the "The Interface" part, in the end of this text: <quote> For value access operations optional<> uses operators * and -> to lexically warn about the possibliy uninitialized state appealing to the familiar pointer semantics w.r.t. to null pointers. However, it is particularly important to note that optional<> objects are not pointers. optional<> is not, and does not model, a pointer.
For instance, optional<> has not shallow-copy
Should be "optional<> does not have shallow-copy" Don't ask me to explain the logic behind the rules of English!
so does not alias: two different optionals never refer to the same value unless T itself is an reference Should be "a reference"
(but my have equivalent values).
I agree, "(but may have equivalent values).
</quote> I think it should be: (but may have equivalent values).
may in the place of my...
Thanks for boost and best regards, Felipe.
Thanks both Felipe and Martin! Fixed now in CVS Best Fernando Cacciola SciSoft

optional.html: typo "shceme" in section "In-Place Factories". /Pavel
participants (4)
-
Doug Gregor
-
Fernando Cacciola
-
Martin Bonner
-
Pavel Vozenilek