Dekel Tsur <[EMAIL PROTECTED]> writes: | > Why? | > lower_bound(vec.begin(), vec.end(), cmppos(), pos, cmppos()); | | Do you mean lower_bound(vec.begin(), vec.end(), pos, cmppos()) ? Probably I have no idea where the second compos came from... | The above form of lower_bound works, but it doesn't appear in the SGI | documentation (http://www.sgi.com/Technology/STL/lower_bound.html) | Is it legal? Oh, yes. Lgb -- Back on net.