llvm / llvm/llvm-project

[libc++] Use algorithm policies in segmented iterator optimizations

Open
#162,104 0 comments 0 reactions 1 assignee Claimed by @philnik777 View on GitHub
libc++
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

I think we should be using the `AlgPolicy` here to extract the difference type. That looks like a bug to me. That actually seems to be the case for all of the segmented iterator optimizations.

_Originally posted by @ldionne in https://github.com/llvm/llvm-project/pull/161661#discussion_r2406902860_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.