We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e3724c commit bc91a4fCopy full SHA for bc91a4f
sigc++/connection.h
@@ -25,7 +25,14 @@
25
namespace sigc
26
{
27
28
-/** This may be used to disconnect the referred slot at any time (disconnect()).
+/** Convenience class for safe disconnection.
29
+ *
30
+ * This may be used to disconnect the referred slot at any time (disconnect()).
31
+ * @ref sigc::signal_with_accumulator::connect() "sigc::signal::connect()"
32
+ * returns a %sigc::connection.
33
+ * @code
34
+ * sigc::connection conn = sig.connect(sigc::mem_fun(a, &A::foo));
35
+ * @endcode
36
* If the slot has already been destroyed, disconnect() does nothing. empty() or
37
* operator bool() can be used to test whether the connection is
38
* still active. The connection can be blocked (block(), unblock()).
0 commit comments