[Bug c++/107981] 'operator auto' has not been declared in base

2025-03-24 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107981 --- Comment #4 from Fedor Chelnokov --- Related discussion: https://stackoverflow.com/q/79527267/7325599 In short, operator renaming (replacing of placeholder auto with deduced return type) is justified by the standard: https://eel.is/c++draft/

[Bug c++/107981] 'operator auto' has not been declared in base

2025-03-22 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107981 Fedor Chelnokov changed: What|Removed |Added CC||fchelnokov at gmail dot com --- Comme

[Bug c++/107981] 'operator auto' has not been declared in base

2022-12-05 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107981 --- Comment #2 from Egor Pugin --- Ignore previous comment.

[Bug c++/107981] 'operator auto' has not been declared in base

2022-12-05 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107981 --- Comment #1 from Egor Pugin --- Also see following test cases. === ok for gcc struct a { operator auto(); }; struct b : a { using a::operator auto; }; === not ok for gcc&clang, ok for msvc struct a { operator auto(); }; stru