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

compare< char * > Struct Template Reference

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

#include <hash.h>

List of all members.

Public Member Functions

int operator() (const char *str1, const char *str2, Size size) const


Detailed Description

template<>
struct compare< char * >

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

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


Member Function Documentation

int compare< char * >::operator() const char *  str1,
const char *  str2,
Size  size
const [inline]
 


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

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