[#GenTxid-emplace-03]
= xref:GenTxid.adoc[GenTxid]::emplace
:relfileprefix: ../
:mrdocs:

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    size&lowbar;t &lowbar;Ip,
    class&period;&period;&period; &lowbar;Args,
    class &lowbar;Tp = variant&lowbar;alternative&lowbar;t&lt;&lowbar;Ip, variant&lt;transaction&lowbar;identifier&lt;false&gt;, transaction&lowbar;identifier&lt;true&gt;&gt;&gt;&gt;
requires (&lowbar;Ip &lt; sizeof&period;&period;&period;(&lowbar;Types)) &amp;&amp; is&lowbar;constructible&lowbar;v&lt;&lowbar;Tp, &lowbar;Args&period;&period;&period;&gt;
&lsqb;&lsqb;&lowbar;&lowbar;exclude&lowbar;from&lowbar;explicit&lowbar;instantiation&lowbar;&lowbar;, &lowbar;&lowbar;abi&lowbar;tag&lowbar;&lowbar;&rsqb;&rsqb;
constexpr
&lowbar;Tp&
emplace(&lowbar;Args&&&period;&period;&period; &lowbar;&lowbar;args);
----


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