BloombergLP::bdlb::CStringEqualTo::operator()

Return true if the specified lhs string has the same (case sensitive) value as the specified rhs string, and false otherwise.

Synopsis

Declared in <bdlb_cstringequalto.h>

bool
operator()(
    char const* lhs,
    char const* rhs) const;

Description

The behavior is undefined unless both lhs and rhs point to null-terminated strings.

Return Value

true if lhs and rhs are equal, and false otherwise

Parameters

NameDescription
lhsleft-hand null-terminated string to compare
rhsright-hand null-terminated string to compare