btcsignals::scoped_connection::scoped_connection

Constructors

Synopses

Declared in <util/btcsignals.h>

Copy construction is deleted.

scoped_connection(scoped_connection const& other) = delete;
» more...

Move-construct, taking over the managed connection from another instance.

constexpr
scoped_connection(scoped_connection&& other) noexcept = default;
» more...

Take ownership of a connection and disconnect it when this object is destroyed.

explicit
scoped_connection(connection rhs) noexcept;
» more...

Parameters

NameDescription
otherThe instance to copy from (unused, this overload is deleted).
rhsThe connection to manage.