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