[libcxx-commits] [libcxx] [libc++][ranges] LWG3736: `move_iterator` missing `disable_sized_sentinel_for` specialization (PR #85611)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Apr 11 14:14:45 PDT 2024
================
@@ -475,6 +475,11 @@ constexpr move_iterator<Iterator> operator+( // constexpr in C++17
template <class Iterator> // constexpr in C++17
constexpr move_iterator<Iterator> make_move_iterator(const Iterator& i);
+template<class Iterator1, class Iterator2>
+ requires (!sized_sentinel_for<Iterator1, Iterator2>)
+ inline constexpr bool disable_sized_sentinel_for<move_iterator<Iterator1>, // since C++20
----------------
ldionne wrote:
We always apply LWG issue resolutions as DRs. It's only papers that we don't always apply as a DR, only under special circumstances.
This is a bit confusing :-). Sorry for the churn @xiaoyang-sde , but I think we want to go back to your previous version of the patch :-)
https://github.com/llvm/llvm-project/pull/85611
More information about the libcxx-commits
mailing list