Skip to content

Commit eb53dd6

Browse files
committed
connection: Update the documentation.
This no longer needs to (or can be) created from an iterator.
1 parent 52fbcbd commit eb53dd6

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

sigc++/connection.h

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,11 @@
2424
namespace sigc
2525
{
2626

27-
/** Convenience class for safe disconnection.
28-
* Iterators must not be used beyond the lifetime of the list
29-
* they work on. A connection object can be created from a
30-
* slot list iterator and may safely be used to disconnect
31-
* the referred slot at any time (disconnect()). If the slot
32-
* has already been destroyed, disconnect() does nothing. empty() or
27+
/** This may be used to disconnect the referred slot at any time (disconnect()).
28+
* If the slot has already been destroyed, disconnect() does nothing. empty() or
3329
* operator bool() can be used to test whether the connection is
3430
* still active. The connection can be blocked (block(), unblock()).
3531
*
36-
* This is possible because the connection object gets notified
37-
* when the referred slot dies (notify()).
38-
*
3932
* @ingroup signal
4033
*/
4134
struct SIGC_API connection : public notifiable

0 commit comments

Comments
 (0)