[libcxx-commits] [libcxx] [libc++] Implement `views::join_with` (PR #65536)
Jakub Mazurkiewicz via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jan 16 16:18:26 PST 2025
================
@@ -0,0 +1,320 @@
+//===----------------------------------------------------------------------===//
+//
+// 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, c++20
+
+// <ranges>
+
+// constexpr iterator& operator++();
+// constexpr void operator++(int);
+// constexpr iterator operator++(int)
+// requires ref-is-glvalue && forward_iterator<OuterIter> &&
----------------
JMazurkiewicz wrote:
Yes, we test them by verifying the return type of `operator++(int)` depending on underlying range in `test_post_increment`. I've added extra comments to make it clear here: https://github.com/llvm/llvm-project/pull/65536/commits/d3c014f8261bbc3a9dc6b5203254452f9ea851b3
https://github.com/llvm/llvm-project/pull/65536
More information about the libcxx-commits
mailing list