Hi,
I'm going to ping this one too: a tad less trivial than the other one -
a little explanation here or in a comment would definitely help - but
certainly it looks much simpler than my own tries a while ago...
Regression testing information is also missing.
Thanks,
Paolo.
On 02/21/2015 01:12 PM, Andrea Azzarone wrote:
Hi all,
please find attached a fix for pr 65071 "decltype(~arg) fails for
template functions". Basically we need to make sure that ~arg is
considered an expression and not a dtor.
2015-02-21 Andrea Azzarone <azzaro...@gmail.com>
PR c++/65091
* parser.c (cp_parser_decltype_expr): Make sure ~id is treated as an
expression.