Fawkes API  Fawkes Development Version
fawkes::StringEquality Class Reference

String equality checker. More...

#include <>>

Public Member Functions

bool operator() (const char *__s1, const char *__s2) const
 Check equality of two strings. More...
 

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.

Author
Tim Niemueller

Definition at line 30 of file string_compare.h.

Member Function Documentation

◆ operator()()

bool fawkes::StringEquality::operator() ( const char *  __s1,
const char *  __s2 
) const

Check equality of two strings.

Parameters
__s1first string
__s2second 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: