[#XOnlyPubKey-operator_assign]
= xref:XOnlyPubKey.adoc[XOnlyPubKey]::operator&equals;
:relfileprefix: ../
:mrdocs:

Copy&hyphen;assign an x&hyphen;only pubkey from another&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:XOnlyPubKey.adoc[XOnlyPubKey]&
operator&equals;(xref:XOnlyPubKey.adoc[XOnlyPubKey] const& other) = default;
----

== Return Value

A reference to this pubkey&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The pubkey to copy from&period;
|===


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