eleviant wrote: With SFINAE things become even more interesting, here substitution fails: https://godbolt.org/z/TT6d99z94 Here it does not: https://godbolt.org/z/1vWoY3Ter
I've opened an issue in MSVC dev community https://developercommunity.visualstudio.com/t/MSVC-constant-evaluation-rejects-C-style/11088611 https://github.com/llvm/llvm-project/pull/197005 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
