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

irc::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 92 of file hashcomp.h.


Member Function Documentation

bool irc::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 Wed May 25 22:03:34 2005 for InspIRCd by doxygen 1.3.3