folly::operator<=>

Three-way compares a string with a null-terminated array.

Synopsis

Declared in <folly/FBString.h>

auto
operator<=>(
    basic_fbstring const& lhs,
    char const* rhs);

Return Value

The ordering of lhs relative to rhs.

Parameters

NameDescription
lhsThe left-hand string.
rhsPointer to the null-terminated right-hand characters.