Fawkes API  Fawkes Development Version
fawkes::StringLess Class Reference

String less than test. More...

#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 36 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
__s1first string
__s2second string
Returns
true, if the __s1 < __s2

Definition at line 69 of file string_compare.cpp.


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