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

Assignment operators

== Synopses

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

Copy&hyphen;assign the key material from another private key&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CKey.adoc[CKey]&
xref:CKey/operator_assign-03.adoc[operator&equals;](xref:CKey.adoc[CKey] const& other);
----

[.small]#xref:CKey/operator_assign-03.adoc[_» more&period;&period;&period;_]#

Move&hyphen;assign a private key from another&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:CKey.adoc[CKey]&
xref:CKey/operator_assign-0c.adoc[operator&equals;](xref:CKey.adoc[CKey]&& other) noexcept = default;
----

[.small]#xref:CKey/operator_assign-0c.adoc[_» more&period;&period;&period;_]#

== Return Value

A reference to this key&period;

== Parameters

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


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