public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14429] New: valid template template argument rejected
@ 2004-03-04  9:40 heinlein at informatik dot uni-ulm dot de
  2004-03-04 13:49 ` [Bug c++/14429] " bangerth at dealii dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: heinlein at informatik dot uni-ulm dot de @ 2004-03-04  9:40 UTC (permalink / raw)
  To: gcc-bugs

The following valid code is rejected with the error messages:
bug.cxx:6: type/value mismatch at argument 1 in template parameter list for `
   template<template<class U, U*p> class T> struct X'
bug.cxx:6:   expected a template of type `template<class U, U*p> class T', got 
   `template<class U, U*p> class T'
bug.cxx:6: ISO C++ forbids declaration of `x' with no type

template <template <typename U, U* p> class T>
struct X {};

template <template <typename U, U* p> class T>
struct Y {
    X<T> x;
};

-- 
           Summary: valid template template argument rejected
           Product: gcc
           Version: 3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: heinlein at informatik dot uni-ulm dot de
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14429


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-07-27 15:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-04  9:40 [Bug c++/14429] New: valid template template argument rejected heinlein at informatik dot uni-ulm dot de
2004-03-04 13:49 ` [Bug c++/14429] " bangerth at dealii dot org
2004-03-04 14:43 ` heinlein at informatik dot uni-ulm dot de
2004-03-04 14:52 ` nathan at gcc dot gnu dot org
2004-03-26 10:12 ` lerdsuwa at gcc dot gnu dot org
2004-06-25 23:16 ` pinskia at gcc dot gnu dot org
2004-07-27 15:47 ` cvs-commit at gcc dot gnu dot org
2004-07-27 15:48 ` lerdsuwa at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).