public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/23691] [4.0 Regression] `mpl_::bool_<false>::value' is not a valid template argument for type `bool' because it is a non-constant expression Date: Fri, 02 Sep 2005 22:52:00 -0000 [thread overview] Message-ID: <20050902225153.11997.qmail@sourceware.org> (raw) In-Reply-To: <20050902090119.23691.caolanm@redhat.com> ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-02 22:51 ------- Confirmed and htere is the reduced testcase: namespace std { class type_info { bool operator==(const type_info& __arg) const; }; } template <class T, T val> struct integral_constant { static const T value = val; }; template< typename T > struct is_integral : integral_constant<bool,false> {}; template <bool B> struct enable_if_c {}; template<typename Functor> typename enable_if_c<(is_integral<Functor>::value)>::type operator==(const int& f, Functor g); template<class D> int get_deleter( std::type_info const & ti ) { return ti == typeid(D); } The different between this and PR 23698 is indirectness of value in is_integral, this one goes though a base class while the other one does not. This test unlike the one in PR 23698 is accepted Comeau. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2005-09-02 22:51:51 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23691
next prev parent reply other threads:[~2005-09-02 22:52 UTC|newest] Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-09-02 9:01 [Bug c++/23691] New: âmpl_::bool_<false>::valueâ is not a valid template argument for type âboolâ " caolanm at redhat dot com 2005-09-02 9:05 ` [Bug c++/23691] " caolanm at redhat dot com 2005-09-02 12:02 ` pinskia at gcc dot gnu dot org 2005-09-02 13:05 ` [Bug c++/23691] `mpl_::bool_<false>::value' is not a valid template argument for type `bool' " jakub at gcc dot gnu dot org 2005-09-02 13:07 ` [Bug c++/23691] [4.0 Regression] " pinskia at gcc dot gnu dot org 2005-09-02 13:11 ` pinskia at gcc dot gnu dot org 2005-09-02 13:13 ` pinskia at gcc dot gnu dot org 2005-09-02 13:20 ` jakub at gcc dot gnu dot org 2005-09-02 13:21 ` jakub at gcc dot gnu dot org 2005-09-02 13:23 ` jakub at gcc dot gnu dot org 2005-09-02 13:30 ` pinskia at gcc dot gnu dot org 2005-09-02 13:41 ` pinskia at gcc dot gnu dot org 2005-09-02 15:47 ` pinskia at gcc dot gnu dot org 2005-09-02 16:40 ` pinskia at gcc dot gnu dot org 2005-09-02 16:42 ` matz at suse dot de 2005-09-02 22:52 ` pinskia at gcc dot gnu dot org [this message] 2005-09-07 20:03 ` bangerth at dealii dot org 2005-09-07 20:07 ` pinskia at gcc dot gnu dot org 2005-09-07 20:12 ` bangerth at dealii dot org 2005-09-08 16:51 ` bangerth at dealii dot org 2005-09-08 18:57 ` cvs-commit at gcc dot gnu dot org 2005-09-08 19:00 ` cvs-commit at gcc dot gnu dot org 2005-09-08 19:02 ` mmitchel at gcc dot gnu dot org 2005-09-08 19:04 ` mmitchel at gcc dot gnu dot org 2005-09-12 19:01 ` cvs-commit at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20050902225153.11997.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).