From 54264de8f80d0088c0de5308d5a3d8d743b51e8f Mon Sep 17 00:00:00 2001 From: Fernando Cacciola Date: Wed, 14 Jan 2004 20:36:37 +0000 Subject: [PATCH] Merged fixes from trunk to branch [SVN r21740] --- doc/optional.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/optional.html b/doc/optional.html index c794e2c..4713d0d 100644 --- a/doc/optional.html +++ b/doc/optional.html @@ -921,9 +921,9 @@ assert ( optX != optZ ) ;
bool operator < ( optional<T> const& x, optional<T> const& y );
-

Returns: If both x and y are initialied, (*x < *y). -If only x or y is initialized, false. If both are uninitialized, -false. +

Returns: If y is not initialized, false. +If y is initialized and x is not initialized, true. +If both x and y are initialized, (*x < *y).

Throws: Nothing.

Notes: Pointers have shallow relational operators while optional has