[#MuSig2SecNonce-operator_assign-04] = xref:MuSig2SecNonce.adoc[MuSig2SecNonce]::operator= :relfileprefix: ../ :mrdocs: Assignment operators == Synopses Declared in `<musig.h>` Copy assignment is disabled to avoid nonce reuse. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:MuSig2SecNonce.adoc[MuSig2SecNonce]& xref:MuSig2SecNonce/operator_assign-08.adoc[operator=](xref:MuSig2SecNonce.adoc[MuSig2SecNonce] const& other) = delete; ---- [.small]#xref:MuSig2SecNonce/operator_assign-08.adoc[_» more..._]# Move‐assign, taking ownership of another holder's secret nonce. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:MuSig2SecNonce.adoc[MuSig2SecNonce]& xref:MuSig2SecNonce/operator_assign-0f.adoc[operator=](xref:MuSig2SecNonce.adoc[MuSig2SecNonce]&& other) noexcept; ---- [.small]#xref:MuSig2SecNonce/operator_assign-0f.adoc[_» more..._]# == Return Value A reference to this holder. == Parameters [cols="1,4"] |=== | Name| Description | *other* | The holder that would be copied. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#