[#XOnlyPubKey-operator_assign] = xref:XOnlyPubKey.adoc[XOnlyPubKey]::operator= :relfileprefix: ../ :mrdocs: Copy‐assign an x‐only pubkey from another. == Synopsis Declared in `<pubkey.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:XOnlyPubKey.adoc[XOnlyPubKey]& operator=(xref:XOnlyPubKey.adoc[XOnlyPubKey] const& other) = default; ---- == Return Value A reference to this pubkey. == Parameters [cols="1,4"] |=== | Name| Description | *other* | The pubkey to copy from. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#