[libcxx-commits] [clang] [clang-tools-extra] [libcxx] [llvm] [libc++] implement views::concat (PR #120920)

Will Hawkins via libcxx-commits libcxx-commits at lists.llvm.org
Mon Dec 30 11:38:25 PST 2024


================
@@ -0,0 +1,54 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: c++03, c++11, c++14, c++17
----------------
hawkinsw wrote:

Sure. I think that you want to make sure that these tests only run when the test suite is being run with a version of C++ where your implementation of concat will be available. In order to do that, you would want to say

```C++
// UNSUPPORTED: c++03, c++11, c++14, c++17, c++20, c++23
```

because the feature that you are implementing is only available in C++26. 

Let me know if that makes sense! I only know this information because I tripped over the same thing! It's confusing, so don't worry!

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


More information about the libcxx-commits mailing list