Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update libcxx/test/std/ranges/range.adaptors/range.zip.transform/iter…
…ator/ctor.other.pass.cpp

Co-authored-by: Louis Dionne <[email protected]>
  • Loading branch information
huixie90 and ldionne committed Jul 19, 2025
commit bacf9ec59d7bd72e000f1c272c8e7b9895913421
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ constexpr bool test() {
}

{
// underlying non-const to const not convertible
// Check when we can't perform a non-const-to-const conversion of the ziperator
std::ranges::zip_transform_view v(MakeTuple{}, ConstIterIncompatibleView{buffer});
auto iter1 = v.begin();
auto iter2 = std::as_const(v).begin();
Expand Down