Boost logo

Boost :

From: Anthony Williams (anthony.williamsNOSPAM_at_[hidden])
Date: 2002-11-14 07:40:38


I have uploaded lexical_compare.hpp to the yahoo files area. It contains
implementations of the function template lexicalCompare.

lexicalCompare is analagous to std::lexicographical_compare, except that it
returns a 3-way output like strcmp:

<0 => first sequence is less than second
0 => first sequence is equivalent to the second
>0 => second sequence is less than the first

Anthony

-- 
Anthony Williams
Senior Software Engineer, Beran Instruments Ltd.
Remove NOSPAM when replying, for timely response.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk