[#BloombergLP-bdlc-operator_le-0b] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::operator<= :relfileprefix: ../../ :mrdocs: Return `true` if `lhs` is less than or equal to `rhs`. == Synopsis Declared in `<bdlc_compactedarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> bool operator<=( xref:BloombergLP/bdlc/CompactedArray_ConstIterator.adoc[CompactedArray_ConstIterator<TYPE>] const& lhs, xref:BloombergLP/bdlc/CompactedArray_ConstIterator.adoc[CompactedArray_ConstIterator<TYPE>] const& rhs); ---- == Description Iterator `lhs` has a value less than or equal to iterator `rhs` if `0 <= rhs ‐ lhs` (see `operator‐`). The behavior is undefined unless `lhs` and `rhs` refer to the same array. == Return Value `true` if `lhs` is less than or equal to `rhs`, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | left‐hand‐side iterator | *rhs* | right‐hand‐side iterator |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#