[libcxx-commits] [libcxx] [libc++][ranges] LWG3736: `move_iterator` missing `disable_sized_sentinel_for` specialization (PR #85611)
Konstantin Varlamov via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Apr 11 14:16:07 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
----------------
var-const wrote:
@ldionne Thanks for the clarification! Sorry I gave an incorrect suggestion.
https://github.com/llvm/llvm-project/pull/85611
More information about the libcxx-commits
mailing list