From f358cf3bf4f40113dfaa87815b9cca8c1edd2965 Mon Sep 17 00:00:00 2001 From: Thomas Witt Date: Sun, 18 Jan 2004 14:52:21 +0000 Subject: [PATCH] Fixed typo. Fixed operator- Returns clause. [SVN r21796] --- doc/iterator_facade_ref.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/iterator_facade_ref.rst b/doc/iterator_facade_ref.rst index 47fe684..603e528 100644 --- a/doc/iterator_facade_ref.rst +++ b/doc/iterator_facade_ref.rst @@ -108,7 +108,7 @@ where *iterator-category* is defined as follows: .. include:: facade_iterator_category.rst The ``enable_if_interoperable`` template used above is for exposition -purposes. The member operators should be only be in an overload set +purposes. The member operators should only be in an overload set provided the derived types ``Dr1`` and ``Dr2`` are interoperable, meaning that at least one of the types is convertible to the other. The ``enable_if_interoperable`` approach uses SFINAE to take the operators @@ -393,4 +393,4 @@ __ `operator arrow`_ :Returns: if ``is_convertible::value``, then ``-lhs.distance_to(rhs)``. Otherwise, - ``-rhs.distance_to(lhs)``. + ``rhs.distance_to(lhs)``.