fawkes::StringEquality Class Reference
String equality checker. More...
#include <utils/misc/string_compare.h>
Public Member Functions | |
| bool | operator() (const char *__s1, const char *__s2) const |
| Check equality of two strings. | |
Detailed Description
String equality checker.This is a valid binary predicate that can be used for instance hash maps as the equality predicate.
The only method is used to check whether two supplied strings are equal. Uses strcmp for char arrays.
Definition at line 30 of file string_compare.h.
Member Function Documentation
| bool fawkes::StringEquality::operator() | ( | const char * | __s1, | |
| const char * | __s2 | |||
| ) | const |
Check equality of two strings.
- Parameters:
-
__s1 first string __s2 second string
- Returns:
- true, if the strings are equal, false otherwise
Definition at line 46 of file string_compare.cpp.
The documentation for this class was generated from the following files:
- src/libs/utils/misc/string_compare.h
- src/libs/utils/misc/string_compare.cpp

