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

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


The documentation for this struct was generated from the following file:
Generated on Sat Apr 2 19:27:08 2005 for InspIRCd by doxygen 1.3.3