This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/66686] Instantiation of dependent template template parameter with non-dependent template rejected
- From: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 30 Jun 2015 17:23:13 +0000
- Subject: [Bug c++/66686] Instantiation of dependent template template parameter with non-dependent template rejected
- Auto-submitted: auto-generated
- References: <bug-66686-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66686
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |msebor at gcc dot gnu.org
--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
The code doesn't look valid to me: Y is not a valid template argument for the
template template parameter C.
Of the compilers I tried GCC, EDG eccp, and IBM XLC++ all reject it (the latter
two with a clear error message confirming the above). Clang is the only one
that accepts it.