c++/2513: [2003-01-21] internal template template parameter causes ICE
ehrhardt@mathematik.uni-ulm.de
ehrhardt@mathematik.uni-ulm.de
Sat Jan 25 01:33:00 GMT 2003
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
More information about the Gcc-bugs
mailing list