#include <stringpool.h>
Public Methods | |
bool | operator() (const string *s1, const string *s2) const throw (runtime_error) |
runtime_error | if any of the arguments is null. |
Definition at line 45 of file stringpool.h.
|
Definition at line 24 of file stringpool.C.
00025 { 00026 if ((s1 == 0) || (s2 == 0) ) 00027 throw runtime_error("StringPool::Compare(): null argument"); 00028 return *s1 < *s2; 00029 } |
textindexer-0.2 | [27 March, 2002] |