[#btcsignals-scoped_connection-2constructor-0b]
= xref:btcsignals.adoc[btcsignals]::xref:btcsignals/scoped_connection.adoc[scoped&lowbar;connection]::scoped&lowbar;connection
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;util&sol;btcsignals&period;h&gt;`

Copy construction is deleted&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:btcsignals/scoped_connection/2constructor-03.adoc[scoped&lowbar;connection](xref:btcsignals/scoped_connection.adoc[scoped&lowbar;connection] const& other) = delete;
----

[.small]#xref:btcsignals/scoped_connection/2constructor-03.adoc[_» more&period;&period;&period;_]#

Move&hyphen;construct, taking over the managed connection from another instance&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:btcsignals/scoped_connection/2constructor-01.adoc[scoped&lowbar;connection](xref:btcsignals/scoped_connection.adoc[scoped&lowbar;connection]&& other) noexcept = default;
----

[.small]#xref:btcsignals/scoped_connection/2constructor-01.adoc[_» more&period;&period;&period;_]#

Take ownership of a connection and disconnect it when this object is destroyed&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:btcsignals/scoped_connection/2constructor-08.adoc[scoped&lowbar;connection](xref:btcsignals/connection.adoc[connection] rhs) noexcept;
----

[.small]#xref:btcsignals/scoped_connection/2constructor-08.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The instance to copy from (unused, this overload is deleted)&period;
| *rhs*
| The connection to manage&period;
|===


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