[#BloombergLP-bdld-operator_le-0e]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::operator&lt;&equals;
:relfileprefix: ../../
:mrdocs:

Less&hyphen;than&hyphen;or&hyphen;equal operators

== Synopses

Declared in `&lt;bdld&lowbar;datumbinaryref&period;h&gt;`

Return `true` if the specified `lhs` compares smaller than or equal to the specified `rhs`, and `false` otherwise&period; A byte comparision is performed using memcpy&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdld/operator_le-07.adoc[operator&lt;&equals;](
    xref:BloombergLP/bdld/DatumBinaryRef.adoc[DatumBinaryRef] const& lhs,
    xref:BloombergLP/bdld/DatumBinaryRef.adoc[DatumBinaryRef] const& rhs);
----

[.small]#xref:BloombergLP/bdld/operator_le-07.adoc[_» more&period;&period;&period;_]#

Return `true` if value of the specified `lhs` is less than or equal to value of the specified `rhs` and `false` otherwise&period; Value of `lhs` is less than or equal to value of `rhs` if error code value of `lhs` is less than or equal to error code value of `rhs`, or they have the same error code value and error message value of `lhs` is less than or equal to error message value of `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdld/operator_le-06.adoc[operator&lt;&equals;](
    xref:BloombergLP/bdld/DatumError.adoc[DatumError] const& lhs,
    xref:BloombergLP/bdld/DatumError.adoc[DatumError] const& rhs);
----

[.small]#xref:BloombergLP/bdld/operator_le-06.adoc[_» more&period;&period;&period;_]#

Return `true` if value of the specified `lhs` is less than or equal to value of the specified `rhs` and `false` otherwise&period; Value of `lhs` is less than or equal to value of `rhs`, if data value of `lhs` is less than or equal to data value of `rhs`, or they have the same data value and type value of `lhs` is less than or equal to type value of `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdld/operator_le-0b.adoc[operator&lt;&equals;](
    xref:BloombergLP/bdld/DatumUdt.adoc[DatumUdt] const& lhs,
    xref:BloombergLP/bdld/DatumUdt.adoc[DatumUdt] const& rhs);
----

[.small]#xref:BloombergLP/bdld/operator_le-0b.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
