[libcxx-commits] [libcxx] [libc++][tuple][utility] P2968R2: Make `std::ignore` a first-class object (PR #97401)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jul 8 10:34:32 PDT 2024


================
@@ -0,0 +1,21 @@
+//===----------------------------------------------------------------------===//
+//
+// 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
+
+// <tuple>
----------------
mordante wrote:

I'm not entirely sure what you mean with "The paper also "recommends" to mention the same in `<tuple>`"

The wording section contains 
```
In [tuple.general](https://eel.is/c++draft/tuple.general) append the following paragraph

<ins>In addition to being available via inclusion of the <tuple> header, ignore ([tuple.syn]) is available when <utility> ([utility]) is included.</ins>
```
This is not a recommendation but a requirement.

Can you explain what your question is? Feel free to do it on Discord if you prefer that.

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


More information about the libcxx-commits mailing list