[#KeyPair-2constructor-051]
= xref:KeyPair.adoc[KeyPair]::KeyPair
:relfileprefix: ../
:mrdocs:

Constructors

== Synopses

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

Construct an empty, invalid key pair&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:KeyPair/2constructor-05d.adoc[KeyPair]() noexcept = default;
----

[.small]#xref:KeyPair/2constructor-05d.adoc[_» more&period;&period;&period;_]#

Copy&hyphen;construct a key pair from another&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:KeyPair/2constructor-01.adoc[KeyPair](xref:KeyPair.adoc[KeyPair] const& other);
----

[.small]#xref:KeyPair/2constructor-01.adoc[_» more&period;&period;&period;_]#

Move&hyphen;construct a key pair from another&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:KeyPair/2constructor-054.adoc[KeyPair](xref:KeyPair.adoc[KeyPair]&& other) noexcept = default;
----

[.small]#xref:KeyPair/2constructor-054.adoc[_» more&period;&period;&period;_]#

== Parameters

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


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