btck::Coin::operator=

Assignment operators

Synopses

Declared in <kernel/bitcoinkernel_wrapper.h>

Copy-assigns by duplicating the other handle's C object.

Handle<btck_Coin, &btck_coin_copy, &btck_coin_destroy>&
operator=(Handle<btck_Coin, &btck_coin_copy, &btck_coin_destroy> const& other);
» more...

Move-assigns, destroying the current object and taking other's.

Handle<btck_Coin, &btck_coin_copy, &btck_coin_destroy>&
operator=(Handle<btck_Coin, &btck_coin_copy, &btck_coin_destroy>&& other) noexcept;
» more...

Return Value

A reference to this handle.

Parameters

NameDescription
otherThe handle to copy from.