bsl::operator<=

Return whether the specified queues compare lexicographically; see the non-member operator<= in the bsl namespace.

Synopsis

Declared in <bslstl_queue.h>

bool
operator<=(
    queue<VALUE2, CONTAINER2> const& lhs,
    queue<VALUE2, CONTAINER2> const& rhs);

Return Value

true if lhs is lexicographically less than or equal to rhs, otherwise false

Parameters

NameDescription
lhsleft-hand queue operand
rhsright-hand queue operand