[#BloombergLP-bdlc-operator_le-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::operator<= :relfileprefix: ../../ :mrdocs: Return `true` if `lhs` precedes or equals `rhs`. == Synopsis Declared in `<bdlc_packedintarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> bool operator<=( xref:BloombergLP/bdlc/PackedIntArrayConstIterator.adoc[PackedIntArrayConstIterator<TYPE>] const& lhs, xref:BloombergLP/bdlc/PackedIntArrayConstIterator.adoc[PackedIntArrayConstIterator<TYPE>] const& rhs); ---- == Description Return `true` if the specified `lhs` has a value less than or equal to the specified `rhs, `false' otherwise. An iterator has a value less than or equal to another if its index is less or equal the other's index. The behavior is undefined unless `lhs` and `rhs` refer to the same array. == Specializations [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlc/operator_le-08.adoc[`operator<=<>`] | Return whether the left iterator precedes or equals the right (see free `operator<=`). |=== == Return Value `true` if `lhs` precedes or equals `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]#