Constructors

Synopses

Declared in <util/btcsignals.h>

Copy construction is deleted.

scoped_connection(scoped_connection const& other) = delete;

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

constexpr
scoped_connection(scoped_connection&& other) noexcept = default;

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

explicit
scoped_connection(connection rhs) noexcept;

Parameters

Name

Description

other

The instance to copy from (unused, this overload is deleted).

rhs

The connection to manage.

Created with MrDocs