Boost logo

Boost Users :

From: Olaf van der Spek (olafvdspek_at_[hidden])
Date: 2006-03-05 07:10:55


Hi,

Does Boost contain a (string) compare function that returns -1 if a <
b, 0 if a == b and 1 if a > b?
Doing both < and == sounds like a lot of extra work in for example
sorting algorithms.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net