[all-commits] [llvm/llvm-project] 3d7622: [libc++][ranges] LWG3618: Unnecessary `iter_move` ...

Xiaoyang Liu via All-commits all-commits at lists.llvm.org
Mon Jul 22 09:32:59 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d7622ea0bd443bb6ccb58d6b33e8cf52a8f0f4e
      https://github.com/llvm/llvm-project/commit/3d7622ea0bd443bb6ccb58d6b33e8cf52a8f0f4e
  Author: Xiaoyang Liu <siujoeng.lau at gmail.com>
  Date:   2024-07-22 (Mon, 22 Jul 2024)

  Changed paths:
    M libcxx/docs/Status/Cxx23Issues.csv
    M libcxx/include/__ranges/transform_view.h
    M libcxx/test/std/ranges/range.adaptors/range.transform/iterator/deref.pass.cpp
    R libcxx/test/std/ranges/range.adaptors/range.transform/iterator/iter_move.pass.cpp

  Log Message:
  -----------
  [libc++][ranges] LWG3618: Unnecessary `iter_move` for `transform_view::iterator` (#91809)

## Introduction

This patch implements LWG3618: Unnecessary `iter_move` for
`transform_view::iterator`.

`transform_view`'s iterator currently specifies a customization point
for `iter_move`. This customization point does the same thing that the
default implementation would do, but its sole purpose is to ensure the
appropriate conditional `noexcept` specification.

## Reference

-
[[range.transform.iterator]](https://eel.is/c++draft/range.transform.iterator)
- [LWG3618](https://cplusplus.github.io/LWG/issue3618)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list