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

Assignment operators

== Synopses

Declared in `&lt;kernel&sol;bitcoinkernel&lowbar;wrapper&period;h&gt;`

Copy&hyphen;assigns by duplicating the other handle&apos;s C object&period;


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

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

Move&hyphen;assigns, destroying the current object and taking `other&apos;s&period;`


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:btck/Handle-046.adoc[Handle]&
xref:btck/Handle-046/operator_assign-02.adoc[operator&equals;](xref:btck/Handle-046.adoc[Handle]&& other) noexcept;
----

[.small]#xref:btck/Handle-046/operator_assign-02.adoc[_» more&period;&period;&period;_]#

== Return Value

A reference to this handle&period;

== Parameters

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


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