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 132 of file modules.cpp.

00133                 {
00134                         char a[MAXBUF];
00135                         static struct hash<const char *> strhash;
00136                         strlcpy(a,s.c_str(),MAXBUF);
00137                         strlower(a);
00138                         return strhash(a);
00139                 }


The documentation for this struct was generated from the following file:
Generated on Tue Apr 26 17:11:52 2005 for InspIRCd by doxygen 1.3.3