[libsigcplusplus] Remove now-irrelevant comment.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsigcplusplus] Remove now-irrelevant comment.
- Date: Fri, 15 Apr 2016 08:03:04 +0000 (UTC)
commit 971a0007fe91689a43231af5d7c98939561639a7
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Apr 15 09:43:42 2016 +0200
Remove now-irrelevant comment.
sigc++/visit_each.h | 20 --------------------
1 files changed, 0 insertions(+), 20 deletions(-)
---
diff --git a/sigc++/visit_each.h b/sigc++/visit_each.h
index 09e372f..7d0cc8b 100644
--- a/sigc++/visit_each.h
+++ b/sigc++/visit_each.h
@@ -202,26 +202,6 @@ visit_each_type(const T_action& _A_action, const T_functor& _A_functor)
type_limited_action limited_action(_A_action);
- // specifying the types of the template specialization prevents disconnection of bound trackable
- // references (such as with std::ref()),
- // probably because the visit_each<> specializations take various different template types,
- // in various sequences, and we are probably specifying only a subset of them with this.
- //
- // But this is required by the AIX (and maybe IRIX MipsPro and Tru64) compilers.
- // I guess that std::ref() therefore does not work on those platforms. murrayc
- // sigc::visit_each<type_limited_action, T_functor>(limited_action, _A_functor);
-
- // g++ (even slightly old ones) is our primary platform, so we could use the non-crashing version.
- // However, the explicit version also fixes a crash in a slightly more common case:
- // http://bugzilla.gnome.org/show_bug.cgi?id=169225
- // Users (and distributors) of libsigc++ on AIX (and maybe IRIX MipsPro and Tru64) do
- // need to use the version above instead, to allow compilation.
-
- // Added 2014-03-20: The preceding comment probably does not apply any more,
- // now when the visit_each<>() overloads have been replaced by visitor<> specializations.
- // It's probably safe to add explicit template parameters on calls to visit_each(),
- // visit_each_type() and visitor::do_visit_each(), if necessary.
-
sigc::visit_each(limited_action, _A_functor);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]