[Bug c++/104691] SFINAE does not disable static_assert

2022-02-25 Thread github at quantconsulting dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104691 --- Comment #1 from Leengit --- Closely related bug: although not demonstrated in the supplied code, note that compilation should complete successfully even if the static_assert fails to compile because its first argument is not `constexpr` give

[Bug c++/104691] New: SFINAE does not disable static_assert

2022-02-25 Thread github at quantconsulting dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104691 Bug ID: 104691 Summary: SFINAE does not disable static_assert Product: gcc Version: og10 (devel/omp/gcc-10) Status: UNCONFIRMED Severity: normal Priority: P3 Co