https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95066
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2020-05-11 Keywords| |accepts-invalid Ever confirmed|0 |1 CC| |mpolacek at gcc dot gnu.org --- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Thanks for the report. In the first case we don't seem to ever substitute the explicit-specifier. I think we forget to lookup the explicit-specifier when instantiating the out-of-line definition of operator Foo. Since I've implemented explicit(bool), mine.