On 01/03/2018 06:59 AM, Marek Polacek wrote:
Since the -Wparentheses extension regarding Most Vexing Parse we started warning on e.g. "reinterpret_cast<int(*)>(&a)". I don't think the warning was meant to warn in this situation, since in reinterpret_cast there's no decl/expr disambiguation, is it?It seems we should simply disable the warning in TYPENAME context.
ok thanks ('<int (*)>' looks weird to me, but if the warning is annoying, so be it.)
nathan -- Nathan Sidwell