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++/31954] template function cannot create object of forward declared class



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-05-16 18:23 -------
I don't think this is a bug.  C0 is not dependent so it has to be complete when
the new is parsed in the template.


-- 


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


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