[#bsl-operator_le-02]
= xref:bsl.adoc[bsl]::operator&lt;&equals;
:relfileprefix: ../
:mrdocs:

Return `true` if `&lowbar;&lowbar;x` is lexicographically less than or equal to `&lowbar;&lowbar;y`&period;

== Synopsis

Declared in `&lt;bslstp&lowbar;slist&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class &lowbar;Tp,
    class &lowbar;Alloc&gt;
bool
operator&lt;&equals;(
    xref:bsl/slist.adoc[slist&lt;&lowbar;Tp, &lowbar;Alloc&gt;] const& &lowbar;&lowbar;x,
    xref:bsl/slist.adoc[slist&lt;&lowbar;Tp, &lowbar;Alloc&gt;] const& &lowbar;&lowbar;y);
----


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