Assignment operators

Synopses

Declared in <musig.h>

Copy assignment is disabled to avoid nonce reuse.

MuSig2SecNonce&
operator=(MuSig2SecNonce const& other) = delete;

Move‐assign, taking ownership of another holder's secret nonce.

Return Value

A reference to this holder.

Parameters

Name

Description

other

The holder that would be copied.

Created with MrDocs