[#GenTxid-operator_assign-0da]
= xref:GenTxid.adoc[GenTxid]::operator&equals;
:relfileprefix: ../
:mrdocs:

== Synopsis

Declared in `&lt;primitives&sol;transaction&lowbar;identifier&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class &lowbar;Arg,
    class &lowbar;Tp = &lowbar;&lowbar;variant&lowbar;detail::&lowbar;&lowbar;best&lowbar;match&lowbar;t&lt;&lowbar;Arg, transaction&lowbar;identifier&lt;false&gt;, transaction&lowbar;identifier&lt;true&gt;&gt;,
    size&lowbar;t &lowbar;Ip = &lowbar;&lowbar;find&lowbar;detail&colon;&colon;&lowbar;&lowbar;find&lowbar;unambiguous&lowbar;index&lowbar;sfinae&lt;&lowbar;Tp, transaction&lowbar;identifier&lt;false&gt;, transaction&lowbar;identifier&lt;true&gt;&gt;&colon;&colon;value&gt;
requires !is&lowbar;same&lowbar;v&lt;&lowbar;&lowbar;remove&lowbar;cvref&lowbar;t&lt;&lowbar;Arg&gt;, variant&gt; &amp;&amp; is&lowbar;assignable&lowbar;v&lt;&lowbar;Tp&amp;, &lowbar;Arg&gt; &amp;&amp; is&lowbar;constructible&lowbar;v&lt;&lowbar;Tp, &lowbar;Arg&gt;
&lsqb;&lsqb;&lowbar;&lowbar;exclude&lowbar;from&lowbar;explicit&lowbar;instantiation&lowbar;&lowbar;, &lowbar;&lowbar;abi&lowbar;tag&lowbar;&lowbar;&rsqb;&rsqb;
constexpr
variant&lt;transaction&lowbar;identifier&lt;false&gt;, transaction&lowbar;identifier&lt;true&gt;&gt;&
operator&equals;(&lowbar;Arg&& &lowbar;&lowbar;arg) noexcept(&sol;&ast; see-below &ast;&sol;);
----

== Exception specification

This function is potentially-throwing unless `is&lowbar;nothrow&lowbar;assignable&lowbar;v&lt;&lowbar;Tp &amp;, &lowbar;Arg&gt; &amp;&amp; is&lowbar;nothrow&lowbar;constructible&lowbar;v&lt;&lowbar;Tp, &lowbar;Arg&gt;`.


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