This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12672] Evals template defaults args that it should not
- From: "igodard at pacbell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 15 Jan 2016 19:27:11 +0000
- Subject: [Bug c++/12672] Evals template defaults args that it should not
- Auto-submitted: auto-generated
- References: <bug-12672-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12672
--- Comment #11 from Ivan Godard <igodard at pacbell dot net> ---
OP here; better late than never :-)
IANALL, but the portions of the standard cited by Jonathan all refer to
argument evaluation, while the problem here is in the result type. Why is the
result even being considered before argument evaluation and identification is
completed?