From 93412ead09a6e89f1031dac75206c883539c29f6 Mon Sep 17 00:00:00 2001 From: Thomas Witt Date: Tue, 25 Feb 2003 10:29:21 +0000 Subject: [PATCH] Fixed typos. [SVN r17631] --- doc/optional.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/optional.html b/doc/optional.html index 9c76a8b..9cbcd40 100644 --- a/doc/optional.html +++ b/doc/optional.html @@ -223,7 +223,7 @@ them. The problem resides in the shallow-copy of pointer semantics: if you need a builtin or small POD, this technique is very poor in terms of required resources. Optional objects are essentially values so it is very convenient to be able to use automatic storage and deep-copy semantics to manipulate optional values just as we do with ordinary - values. Pointers do not have this semantics, so are unapprorpiate for the initialization and + values. Pointers do not have this semantics, so are unappropriate for the initialization and transport of optional values, yet are quite convenient for handling the access to the possible undefined value because of the idiomatic aid present in the OptionalPointee concept incarnated by pointers.
@@ -805,7 +805,7 @@ class Fred

A note about optional<bool>

-

optional<bool> should be used with special caution and consideration.

+

optional<bool> should be used with special caution and consideration.

First, it is functionally similar to a tristate boolean (false,maybe,true) -such as boost::tribool (not yet formally in boost)-, except that in a tristate boolean, the maybe state