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

Hristo Hristov via libcxx-commits libcxx-commits at lists.llvm.org
Sun Jul 7 04:59:54 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>
----------------
H-G-Hristov wrote:

The paper also "recommends" to mention the same in `<tuple>`. Do you have any recommendations what and where to write?

> YES, make ignore available through <utility>, and not repeat the specification, but follow the example of ranges accessor functions by saying in [tuple] somewhere that ignore is available also from header <utility>.



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


More information about the libcxx-commits mailing list