summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2016-04-29 09:22:28 +0200
committerMurray Cumming <murrayc@murrayc.com>2016-04-29 09:22:31 +0200
commiteb53dd6bc9aa1ed6d44cb2b8ebba3093e7e5e4bb (patch)
tree81f7f0eb5e10f67ade7f0b76de43ae1f63d624a6
parent52fbcbd74e257cef048d1adaffac0d2fd02000b2 (diff)
downloadsigc++-eb53dd6bc9aa1ed6d44cb2b8ebba3093e7e5e4bb.tar.gz
connection: Update the documentation.
This no longer needs to (or can be) created from an iterator.
-rw-r--r--sigc++/connection.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/sigc++/connection.h b/sigc++/connection.h
index f70ac4b..04aa74a 100644
--- a/sigc++/connection.h
+++ b/sigc++/connection.h
@@ -24,18 +24,11 @@
namespace sigc
{
-/** Convenience class for safe disconnection.
- * Iterators must not be used beyond the lifetime of the list
- * they work on. A connection object can be created from a
- * slot list iterator and may safely be used to disconnect
- * the referred slot at any time (disconnect()). If the slot
- * has already been destroyed, disconnect() does nothing. empty() or
+/** This may be used to disconnect the referred slot at any time (disconnect()).
+ * If the slot has already been destroyed, disconnect() does nothing. empty() or
* operator bool() can be used to test whether the connection is
* still active. The connection can be blocked (block(), unblock()).
*
- * This is possible because the connection object gets notified
- * when the referred slot dies (notify()).
- *
* @ingroup signal
*/
struct SIGC_API connection : public notifiable