[clang] [Clang] Implement CWG2918 'Consideration of constraints for address of overloaded function' (PR #127773)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 19 05:01:01 PST 2025


================
@@ -60,6 +60,90 @@ struct S {
 #endif
 } // namespace cwg2917
 
+namespace cwg2918 { // cwg2918: 21
+
+#if __cplusplus >= 202002L
----------------
Endilll wrote:

It seems that only example 2 needs C++20. Have you considered testing examples 1 and 3 in C++11 through C++17 modes?

https://github.com/llvm/llvm-project/pull/127773


More information about the cfe-commits mailing list