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++/4205] function template can call other function with incorrect parameters


------- Additional Comments From japple at freeshell dot org  2004-02-01 21:59 -------
template<typename T, typename U = int>
struct foo {};
                                                                                
template<template <typename> class TT>
struct bar {};
                                                                                
bar<foo> x;

compiles for me with 3.3.2.  Is this bug related?

-- 


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


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