From 5edb930d75227b34bfde8e50d296fa72c2c7b5c9 Mon Sep 17 00:00:00 2001 From: Jan Langer Date: Fri, 22 Aug 2003 15:19:59 +0000 Subject: [PATCH] fixed bugs [SVN r1455] --- doc/lexicographic.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/lexicographic.html b/doc/lexicographic.html index 38522dd..924d5a9 100644 --- a/doc/lexicographic.html +++ b/doc/lexicographic.html @@ -38,7 +38,7 @@ specified order at one relation between two data items at a time and result in a lexicographic comparision of all these relations the programmer often has to write long if-else cascades. These cascades - are often cpomplex and difficult to maintain. The class + are often complex and difficult to maintain. The class boost::lexicographic helps in this scenario. Its constructor and function call operator takes two data items which need to be compared as arguments and performs to comparision. The order in which @@ -133,7 +133,7 @@ bool operator < (person const &p1, person const &p2)

Members

result_type

- enum result_type { minus = -1, equivalent, plus }; + enum result_type { minus = -1, equivalent = 0, plus = +1 };

Defines the result type of the class. It is kept as internal state and is returned by result (). @@ -223,11 +223,10 @@ bool operator < (person const &p1, person const &p2)

Credits

The author of boost::lexicographic is Jan Langer (jan@langernetz.de). - Ideas and suggestions from Steve Cleary, David Abrahams and Gennaro Proata - were used. + Ideas and suggestions from Steve Cleary, David Abrahams, Gennaro Proata and Paul Bristow were used.


-

April 17, 2003

+

August 22, 2003

© Copyright Jan Langer 2003. Permission to copy, use, modify, sell and distribute this document is granted provided this copyright notice appears in all copies. This document is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.