https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102799
--- Comment #1 from qingzhe huang <nickhuang99 at hotmail dot com> --- Forget to mention that obviously this only happens with "-std=c++20" because of lambda in unevaluated context support.
nickhuang99 at hotmail dot com via Gcc-bugs Sat, 16 Oct 2021 15:33:41 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102799
--- Comment #1 from qingzhe huang <nickhuang99 at hotmail dot com> --- Forget to mention that obviously this only happens with "-std=c++20" because of lambda in unevaluated context support.