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

--- Comment #1 from José Cruz Serrallés <jose at serrall dot es> ---
Pasting MRE here for convenience:

struct Base {
    template <typename Derived>
    constexpr void operator()(this Derived&& der) {
        operator()();
    }
};

int main() {
    Base b;
    b();
}

Reply via email to