operator<= through conversion for Range<const char*>

Synopsis

Declared in <folly/Range.h>

template<
    class T,
    class U>
bool
operator<=(
    T const& lhs,
    U const& rhs)
requires detail::ComparableAsStringPiece<T, U>::value;

Return Value

True if lhs is less than or equal to rhs as StringPiece.

Parameters

Name

Description

lhs

The left‐hand operand, convertible to StringPiece.

rhs

The right‐hand operand, convertible to StringPiece.

Created with MrDocs