Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

nspace::hash< string > Struct Template Reference

List of all members.

Public Member Functions

size_t operator() (const string &s) const

template<>
struct nspace::hash< string >


Member Function Documentation

size_t nspace::hash< string >::operator() const string &  s  )  const [inline]
 

Definition at line 142 of file modules.cpp.

00143                 {
00144                         char a[MAXBUF];
00145                         static struct hash<const char *> strhash;
00146                         strlcpy(a,s.c_str(),MAXBUF);
00147                         strlower(a);
00148                         return strhash(a);
00149                 }


The documentation for this struct was generated from the following file:
Generated on Fri May 13 02:00:21 2005 for InspIRCd by doxygen 1.3.3