This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/20220] [4.0/4.1 Regression] Rejecting invalid template code, breaks most of Boost


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]