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

00108                 {
00109                         char a[MAXBUF];
00110                         static struct hash<const char *> strhash;
00111                         strcpy(a,s.c_str());
00112                         strlower(a);
00113                         return strhash(a);
00114                 }


The documentation for this struct was generated from the following file:
Generated on Sat May 1 20:58:18 2004 for InspIRCd by doxygen1.3-rc3