Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

compare< void * > Struct Template Reference

Given two pointers and a size, this class compares them for equality. More...

#include <hash.h>

List of all members.

Public Member Functions

int operator() (void *ptr1, void *ptr2, Size size) const


Detailed Description

template<>
struct compare< void * >

Given two pointers and a size, this class compares them for equality.

It returns an integer less than, equal to, or greater than zero if ptr1 is found, respectively, to be less than, to match, or to be greater than ptr2.


Member Function Documentation

int compare< void * >::operator() void *  ptr1,
void *  ptr2,
Size  size
const [inline]
 


The documentation for this struct was generated from the following file:

Torsion Operating System, Copyright (C) 2000-2004 Dan Helfman