https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91391

--- Comment #5 from Stephan Bergmann <sbergman at redhat dot com> ---
(In reply to Stephan Bergmann from comment #0)
[...]
> template-parameter-list, and I wonder whether it should warn about a
> (hypothetical) comma expression in a call to an overloaded operator [] at
> all.

([expr.pre]/2 "Overloaded operators obey the rules for syntax and evaluation
order specified in [expr.compound], but the requirements of operand type and
value category are replaced [...]", so it presumably shall warn there)

Reply via email to