[#bsl-StringComparator-operator_call] = xref:bsl.adoc[bsl]::xref:bsl/StringComparator.adoc[StringComparator]::operator() :relfileprefix: ../../ :mrdocs: Return whether the specified null‐terminated strings compare equal. == Synopsis Declared in `<bslstp_exfunctional.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool operator()( char const* a, char const* b) const; ---- == Description Return `true` if the specified strings `a` and `b` have the same value, and return `false` otherwise. Two strings have the same value if the result of `std::strcmp` returns 0. == Return Value `true` if the strings compare equal, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *a* | first null‐terminated string to compare | *b* | second null‐terminated string to compare |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#