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. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost