From 06e6a36ceac6bb460227aacf1cc41d8dc45887e1 Mon Sep 17 00:00:00 2001 From: Fernando Cacciola Date: Wed, 14 Jan 2004 20:43:53 +0000 Subject: [PATCH] Merged fixes from trunk to branch [SVN r21741] --- OptionalPointee.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/OptionalPointee.html b/OptionalPointee.html index f5c2b8b..b4c7ef9 100644 --- a/OptionalPointee.html +++ b/OptionalPointee.html @@ -115,10 +115,9 @@ struct equal_pointees_t : std::binary_function<OptionalPointee,OptionalPointe } ;

The preceding generic function and function object have the following semantics:
-If both x and y have valid pointees, it compares values via (*x == *y) or (*x < -*y).
-If only one has a valid pointee, returns false.
-If both have invalid pointees, returns true.

+If both x and y have valid pointees, it compares values via (*x == *y).
+If only one has a valid pointee, returns false.
+If both have invalid pointees, returns true.

Less-than relation:

template<class OptionalPointee>
@@ -135,11 +134,12 @@ struct less_pointees_t : std::binary_function<OptionalPointee,OptionalPointee
 } ;
 

The preceding generic function and function object have the following semantics:
-If both x and y have valid pointees, it compares values via (*x == *y) or (*x < -*y).
-If only one has a valid pointee, returns false.
-If both have invalid pointees, returns false.

-

All these functions and function +If y has an invalid pointee, returns false.
+Else, if x has an invalid pointee, returns true.
+Else, ( x and y have valid pointees), compares values via (*x < +*y).

+


+All these functions and function objects are is implemented in compare_pointees.hpp

Notice that OptionalPointee does not imply aliasing (and optional<> for instance does not alias); so direct usage of relational operators with the implied aliasing of shallow semantics