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

InAddr_HashComp Struct Reference

This class returns true if two in_addr structs match. More...

#include <hashcomp.h>

List of all members.

Public Member Functions

bool operator() (const in_addr &s1, const in_addr &s2) const
 The operator () does the actual comparison in hash_map.


Detailed Description

This class returns true if two in_addr structs match.

Checking is done by copying both into a size_t then doing a numeric comparison of the two.

Definition at line 71 of file hashcomp.h.


Member Function Documentation

bool InAddr_HashComp::operator() const in_addr &  s1,
const in_addr &  s2
const
 

The operator () does the actual comparison in hash_map.


The documentation for this struct was generated from the following file:
Generated on Sun May 15 17:03:29 2005 for InspIRCd by doxygen 1.3.3