https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86015
--- Comment #7 from Josh Marshall <joshua.r.marshall.1991 at gmail dot com> --- I got the licensing cleared up over the weekend, and so I can actually reference the code in question for this. https://github.com/anadon/Sort-Comparisons-and-Performance-metrics The only way to track use of operations on iterator distances effectively would be for a change like this to go through. If deemed appropriate, I might ask about this change to the C++ standard since it won't break any existing code and adds flexibility.