[#bsl-operator_3way-0412]
= xref:bsl.adoc[bsl]::operator&lt;&equals;&gt;
:relfileprefix: ../
:mrdocs:

Perform a three&hyphen;way comparison of the specified `ptr` and null pointer by using the comparison operators of `TYPE &ast;`&semi; return the result of that comparison&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;sharedptr&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
std::strong&lowbar;ordering
operator&lt;&equals;&gt;(
    xref:bsl/shared_ptr-0a.adoc[shared&lowbar;ptr&lt;TYPE&gt;] const& ptr,
    xref:bsl/nullptr_t-08.adoc[nullptr&lowbar;t]) noexcept;
----


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