This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33943] New: ICE with partial specialization on vararg template template parameter
- From: "eric dot niebler at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Oct 2007 18:12:44 -0000
- Subject: [Bug c++/33943] New: ICE with partial specialization on vararg template template parameter
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Compiled with -std=c++0x, version g++ (GCC) 4.3.0 20070921 (experimental), the
following program causes an ICE.
{{{
template<typename... A>
struct foo {};
template<typename A0, typename... A1>
struct bar {};
template<typename U>
struct baz;
template<template<typename...> class T, typename... U>
struct baz< T<U...> >
{};
template<template<typename, typename...> class T, typename U, typename... V>
struct baz< T<U, V...> >
{};
baz< foo<int, short> > b1;
baz< bar<int, short> > b2;
}}}
--
Summary: ICE with partial specialization on vararg template
template parameter
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: eric dot niebler at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33943