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

RAII&hyphen;style connection management that disconnects on destruction&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class scoped&lowbar;connection;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:btcsignals/scoped_connection/2constructor-0b.adoc[`scoped&lowbar;connection`]         [.small]#[constructor]#
| Constructors
| xref:btcsignals/scoped_connection/2destructor.adoc[`&#126;scoped&lowbar;connection`] [.small]#[destructor]#
| Disconnect the managed connection on destruction&period;
| xref:btcsignals/scoped_connection/operator_assign-05a.adoc[`operator&equals;`] 
| Assignment operators
| xref:btcsignals/scoped_connection/disconnect.adoc[`disconnect`] 
| Disconnect the managed connection&period;
|===



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