[#MuSig2SecNonce-2constructor-01]
= xref:MuSig2SecNonce.adoc[MuSig2SecNonce]::MuSig2SecNonce
:relfileprefix: ../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;musig&period;h&gt;`

Construct an empty secret nonce holder&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:MuSig2SecNonce/2constructor-03.adoc[MuSig2SecNonce]();
----

[.small]#xref:MuSig2SecNonce/2constructor-03.adoc[_» more&period;&period;&period;_]#

Copying is disabled to avoid nonce reuse&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:MuSig2SecNonce/2constructor-05.adoc[MuSig2SecNonce](xref:MuSig2SecNonce.adoc[MuSig2SecNonce] const& other) = delete;
----

[.small]#xref:MuSig2SecNonce/2constructor-05.adoc[_» more&period;&period;&period;_]#

Move&hyphen;construct, taking ownership of another holder&apos;s secret nonce&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:MuSig2SecNonce/2constructor-0d.adoc[MuSig2SecNonce](xref:MuSig2SecNonce.adoc[MuSig2SecNonce]&& other) noexcept;
----

[.small]#xref:MuSig2SecNonce/2constructor-0d.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The holder that would be copied&period;
|===


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