[#absl-NoDestructor-08-2constructor-02]
= xref:absl.adoc[absl]::xref:absl/NoDestructor-08.adoc[NoDestructor]::NoDestructor
:relfileprefix: ../../
:mrdocs:

Forwards arguments to the T&apos;s constructor&colon; calls T(args&period;&period;&period;)&period;

== Synopsis

Declared in `&lt;absl&sol;base&sol;no&lowbar;destructor&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename&period;&period;&period; Ts&gt;
requires !std&colon;&colon;is&lowbar;same&lowbar;v&lt;void(std&colon;&colon;decay&lowbar;t&lt;Ts&gt;&amp;&period;&period;&period;),
                                             void(NoDestructor&amp;)&gt;
constexpr
explicit
NoDestructor(Ts&&&period;&period;&period; args);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *args*
| The arguments forwarded to `T`&apos;s constructor&period;
|===


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