================ @@ -32,6 +32,26 @@ enum E2 : S<E2>::I { e }; #endif } // namespace cwg2516 +namespace cwg2517 { // cwg2517: 23 +#if __cplusplus >= 202302L +template<typename ArrayType> +concept LargeArray = requires (ArrayType my_array) { + requires my_array.size() > 5; +}; ---------------- cor3ntin wrote:
Do we have a test for the cases where the expression is not a constant expression? https://github.com/llvm/llvm-project/pull/132919 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits