This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/77477] error recovery for explicit qualification
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 06 Sep 2016 09:44:52 +0000
- Subject: [Bug c++/77477] error recovery for explicit qualification
- Auto-submitted: auto-generated
- References: <bug-77477-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77477
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jim Michaels from comment #2)
> I don't believe this answer.
> to my knowledge the syntax is OK for c++11.
Please stop claiming templates don't work and learn to write C++.
> I was even told once that <S> is not needed, which was wrong.
> you did not state exactly what was wrong, only that "your code is wrong."
> please be explicit like you require your bug reporters to be. thank you.
Remove all occurrences of <S> and str:: from your example code and it will be
valid C++.