bsl::StringComparator

This class is a functor that provides comparison between two const char * strings.

Synopsis

Declared in <bslstp_exfunctional.h>

struct StringComparator;

Member Functions

NameDescription
operator() 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.
operator BloombergLP::bslmf::NestedTraitDeclaration<StringComparator, is_trivially_copyable> Nested trait declaration for bsl::is_trivially_copyable.