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++/53926] g++ fails to compile valid template code with casting to QVariant and back


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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-07-11 11:36:09 UTC ---
It's not valid code, you ned to say foo().template value<T>()

http://womble.decadent.org.uk/c++/template-faq.html#disambiguation


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