NCBI C++ ToolKit
|
Search Toolkit Book for PQuickStringLess
PQuickStringLess implements an ordering of strings, that is more efficient than usual lexicographical order. More...
#include <corelib/ncbistr.hpp>
Public Member Functions | |
bool | operator() (const CTempString s1, const CTempString s2) const |
PQuickStringLess implements an ordering of strings, that is more efficient than usual lexicographical order.
It can be used in cases when no specific order is required, e.g. only simple key lookup is needed. Current implementation first compares lengths of strings, and will compare string data only when lengths are the same.
Definition at line 5013 of file ncbistr.hpp.