Class Index Cross Index Namespace Index

Class CaseInsensitiveCmp

Case-Insensitive Compare Functional
Contained in: global
Derived from: none
Derived by: none

#include "general/util.hh"


public function member index:

bool operator ()(const std::string& s1, const std::string& s2) const; Overloaded call operator.
 

Description:

A Function Object used to perform a case-insensitive compare of two string objects.


Function Member Descriptions:


CaseInsensitiveCmp::operator () - Overloaded call operator.


bool operator ()(const std::string& s1, const std::string& s2) const;

Parameters:
ParameterDescription
const std::string& s1A reference to the first string object.
const std::string& s2A reference to the second string object.

Return value:
boolTrue if strings are equal, false otherwise.