summaryrefslogtreecommitdiff
path: root/docs/man/man3/irc_InAddr_HashComp.3
blob: 3ae4dda7f8bd502612e6e87eb3bccd27554afc3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.TH "irc::InAddr_HashComp" 3 "12 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
irc::InAddr_HashComp \- This class returns true if two in_addr structs match.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <hashcomp.h>\fP
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "bool \fBoperator()\fP (const in_addr &s1, const in_addr &s2) const "
.br
.RI "\fIThe operator () does the actual comparison in hash_map. \fP"
.in -1c
.SH "Detailed Description"
.PP 
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.
.PP
Definition at line 92 of file hashcomp.h.
.SH "Member Function Documentation"
.PP 
.SS "bool irc::InAddr_HashComp::operator() (const in_addr & s1, const in_addr & s2) const"
.PP
The operator () does the actual comparison in hash_map. 
.PP


.SH "Author"
.PP 
Generated automatically by Doxygen for InspIRCd from the source code.