Fixes #59806
Details
Details
- Reviewers
ldionne Mordante var-const huixie90 - Group Reviewers
Restricted Project - Commits
- rGdff3eba75cc3: [libc++] Fix ranges::uninitialized_move{, _n} for move-only types
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
libcxx/include/__memory/ranges_uninitialized_algorithms.h | ||
---|---|---|
259 | The fix looks good to me. But I think it would be good to add some tests (static_assert tests) for the constraints. (both positive and negative test for the constraints), where iter_rvalue_reference_t and iter_reference_t are different (.e.g types with specialized iter_move) |
libcxx/include/__memory/ranges_uninitialized_algorithms.h | ||
---|---|---|
259 | I think I'd rather do that in a separate PR, since it's only tangentially related to the bug. |
The fix looks good to me. But I think it would be good to add some tests (static_assert tests) for the constraints. (both positive and negative test for the constraints), where iter_rvalue_reference_t and iter_reference_t are different (.e.g types with specialized iter_move)