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++/24680] Invalid template code accepted



------- Comment #12 from pinskia at gcc dot gnu dot org  2005-11-05 02:23 -------
(In reply to comment #10)
> This is really invalid code as List<int>::D::size does not exist but it can
> only be diagnost at instaination time.

Oh and resize is not declared either but since d->size is dependent as shown by
my example it cannot be looked up at defintion time.


-- 


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


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