StrLessPred Struct Reference

String less predicate function object. More...

#include <StrMap.h>

List of all members.

Public Member Functions

bool  operator() (const SI_Char *in_psz1, const SI_Char *in_psz2) const


Detailed Description

String less predicate function object.

This functor can be used in STL algorithms or associative containers to sort strings.

Example:
Usage example
    set<SI_Char*, StrLessPred> l_MySet;


Member Function Documentation

bool operator() ( const SI_Char *  in_psz1,
const SI_Char *  in_psz2  
) const [inline]

Determines if in_psz1 is less than in_psz2

Parameters:
in_psz1  First string
in_psz2  Second string
Returns:
true if in_psz1 is less than in_psz2


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