This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20220] [4.0/4.1 Regression] Rejecting invalid template code, breaks most of Boost
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Feb 2005 00:55:10 -0000
- Subject: [Bug c++/20220] [4.0/4.1 Regression] Rejecting invalid template code, breaks most of Boost
- References: <20050226004433.20220.giovannibajo@libero.it>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-26 00:55 -------
Easy reduction:
template <class T, T i> class b {};
template <class T, T i> class a
{
static const T value = i;
b<T, static_cast<T>(value+1) > next;
};
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-02-26 00:55:09
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20220