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]

[Bug c++/14429] valid template template argument rejected


------- Additional Comments From bangerth at dealii dot org  2004-03-04 13:49 -------
Confirmed, but I'm not sure the code is valid. icc7 says, for example: 
 
g/x> icc -c -Xc -ansi x.cc 
x.cc(1): error: a parameter of a template template parameter cannot depend on 
the type of another template parameter 
  template <template <typename U, U* p> class T> 
                                     ^ 
 
x.cc(4): error: a parameter of a template template parameter cannot depend on 
the type of another template parameter 
  template <template <typename U, U* p> class T> 
 
I think we need some language lawyer here... 
 
W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nathan at gcc dot gnu dot
                   |                            |org


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


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