[Bug libstdc++/100384] Compiling in c++17 mode breaks compilation of functions named visit()

2021-05-03 Thread aacid at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100384 --- Comment #2 from Albert Astals Cid --- People that know more C++ than me, told me std::visit appears unconstrained to Variants...&& being actual std::variants (in case you inherited one, I guess), so std::visit, as an unconstrained perfect f

[Bug c++/100384] Compiling in c++17 mode breaks compilation of functions named visit()

2021-05-02 Thread aacid at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100384 --- Comment #1 from Albert Astals Cid --- Created attachment 50734 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50734&action=edit error log

[Bug c++/100384] New: Compiling in c++17 mode breaks compilation of functions named visit()

2021-05-02 Thread aacid at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100384 Bug ID: 100384 Summary: Compiling in c++17 mode breaks compilation of functions named visit() Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal