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]

Re: c++/2513: [2003-01-21] internal template template parameter causes ICE


Old Synopsis: [2003-01-01] internal template template parameter causes ICE
New Synopsis: [2003-01-21] internal template template parameter causes ICE

State-Changed-From-To: suspended->analyzed
State-Changed-By: cae
State-Changed-When: Sat Jan 25 00:48:27 2003
State-Changed-Why:
    This was suspended waiting for the new parser. Someone confirmed
    that it is still present with the new parser already but apparently
    the state wasn't changed. While we're at it: Here's a further
    reduced example:
    
    template <bool flag>
    struct Select
    {
      typedef int Result;
    };
    
    template <template<class> class Pred>
    struct FindType {
      typedef typename Select<Pred<int>::Value == 1>::Result Result;
    };
    
    template <int bits>
    struct Int {
      template<typename T>
      struct RightSize {
        enum { Value };
      };
      typedef typename FindType<RightSize>::Result type;
    };

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=2513


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