summaryrefslogtreecommitdiff
path: root/sigc++/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'sigc++/signal.h')
-rw-r--r--sigc++/signal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sigc++/signal.h b/sigc++/signal.h
index 8f7dadc..9d6143c 100644
--- a/sigc++/signal.h
+++ b/sigc++/signal.h
@@ -461,6 +461,12 @@ public:
}
/** Creates a functor that calls emit() on this signal.
+ *
+ * @note %sigc::signal does not derive from sigc::trackable in sigc++3.
+ * If you connect the returned functor (calling %emit() on signal1) to
+ * another signal (signal2) and then delete signal1, you must manually
+ * disconnect signal1 from signal2 before you delete signal1.
+ *
* @code
* sigc::mem_fun(mysignal, &sigc::signal_with_accumulator::emit)
* @endcode