[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
Sun Jul 7 04:24:09 PDT 2024


================
@@ -46,6 +46,7 @@ Implemented Papers
 - P2872R3 - Remove ``wstring_convert`` From C++26
 - P3142R0 - Printing Blank Lines with ``println`` (as DR against C++23)
 - P2944R3 - Comparisons for ``reference_wrapper`` (comparison operators for ``reference_wrapper`` only)
+- P2968R2 - Make ``std::ignore`` a first-class object (as DR against C++11)
----------------
mordante wrote:

Thanks for explaining why you made this a DR.

Basically something becomes a DR when the committee votes it becomes a DR. The voting of this paper it does not mention a DR. (This information is currently only available for Committee members. For the previous meeting the information is public https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/n4980.pdf has the vote "Accept as a Defect Report and apply the changes in P3107R5 (Permit an efficient implementation of std::print) to the C++ working paper.")

So I would not make this paper a DR but keep the new class unconditionally in all language versions. However we should not use `constexpr`, but keep the original macro.

The paper does mention LWG issues, but the paper does not propose itself as a Defect Report.


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


More information about the libcxx-commits mailing list