[#XOnlyPubKey-2constructor-0f]
= xref:XOnlyPubKey.adoc[XOnlyPubKey]::XOnlyPubKey
:relfileprefix: ../
:mrdocs:

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

== Synopsis

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

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

== Parameters

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


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