[#BloombergLP-bslalg-SynthThreeWayUtil]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::SynthThreeWayUtil
:relfileprefix: ../../
:mrdocs:

&quot;Exposition&hyphen;only&quot; part of `bslstl&lowbar;compare&period;h`

== Synopsis

Declared in `&lt;bslalg&lowbar;synththreewayutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct SynthThreeWayUtil;
----

== Types

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslalg/SynthThreeWayUtil/_01record.adoc[`Unnamed struct`] 
| Return the result of `t1 &lt;&equals;&gt; t2` expression if this expression is valid&period; Otherwise, if `t1 &lt; t2` and `t2 &lt; t1` expressions are well&hyphen;formed and return boolean&hyphen;testable results, use the `&lt;` operator to emulate `&lt;&equals;&gt;`&period; Otherwise this function is not defined and does not participate in overload resolution&period; Note that this is an implementation of the exposition&hyphen;only callable object `synth&hyphen;three&hyphen;way` defined by the ISO C&plus;&plus;20 Standard &lsqb;expos&period;only&period;entity&rsqb;&period;
|===


== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslalg/SynthThreeWayUtil/Result.adoc[`Result`] 
| A type returned by `SynthThreeWayUtil&colon;&colon;compare&lt;t&lowbar;TYPE1, t&lowbar;TYPE2&gt;`&period; Note that this is an implementation of the exposition&hyphen;only type alias `synth&hyphen;three&hyphen;way&hyphen;result` defined by the ISO C&plus;&plus;20 Standard &lsqb;expos&period;only&period;entity&rsqb;&period;
|===


== Static Data Members

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslalg/SynthThreeWayUtil/compare.adoc[`compare`] 
| Return the result of `t1 &lt;&equals;&gt; t2` expression if this expression is valid&period; Otherwise, if `t1 &lt; t2` and `t2 &lt; t1` expressions are well&hyphen;formed and return boolean&hyphen;testable results, use the `&lt;` operator to emulate `&lt;&equals;&gt;`&period; Otherwise this function is not defined and does not participate in overload resolution&period; Note that this is an implementation of the exposition&hyphen;only callable object `synth&hyphen;three&hyphen;way` defined by the ISO C&plus;&plus;20 Standard &lsqb;expos&period;only&period;entity&rsqb;&period;
|===



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