Fawkes API  Fawkes Development Version
fawkes::StringLess Class Reference

#include <>>

Public Member Functions

bool operator() (const char *s1_, const char *s2_) const
 Check equality of two strings. More...
 

Detailed Description

String less than test. This is a valid binary predicate that can be used for instance for maps as the less predicate.

The only method is used to check whether one supplied strings is less then the other. Uses strcmp for char arrays.

Author
Tim Niemueller

Definition at line 39 of file string_compare.h.

Member Function Documentation

◆ operator()()

bool fawkes::StringLess::operator() ( const char *  s1_,
const char *  s2_ 
) const

Check equality of two strings.

Parameters
s1_first string
s2_second string
Returns
true, if the s1_ < s2_

Definition at line 73 of file string_compare.cpp.


The documentation for this class was generated from the following files: