Comparator struct, useful for ordered collections (like STL maps). More...
#include <slice.h>
Public Member Functions | |
bool | operator() (const Slice &a, const Slice &b) const |
Comparator struct, useful for ordered collections (like STL maps).
Compare two slices using Slice::compare()
[in] | a | The slice to call Slice::compare() at. |
[in] | b | The slice to use as a parameter for Slice::compare(). |
true
iff a
is less than b
by Slice::compare().