This started as fixing a typo in a ADDITIONAL_COMPILE_FLAGS directive
which turned out to uncover a few places where we warned about signedness
changes.
As a fly-by fix, this updates the various __advance overloads
for style consistency.
|  Differential  D106372  
[libc++] Avoid triggering warnings for implicit conversion Authored by ldionne on Jul 20 2021, 8:46 AM. 
Details 
 This started as fixing a typo in a ADDITIONAL_COMPILE_FLAGS directive As a fly-by fix, this updates the various __advance overloads 
Diff Detail 
 
Unit Tests Event Timeline
 
 Comment Actions LGTM at this point if buildkite is happy (which it seems it's not, yet). 
 
 Comment Actions @ldionne: Serendipitously, @jwakely just alerted me to LWG's Tentatively Ready on @tcanens' paper P2393R0 "Cleaning up integer-class types", which specifically mandates (the effect of) an explicit cast from decltype(n) to iter_difference_t<I> every time the library clauses talk about i + n or i - n. See the added section marked '?', in green. | ||||||||||||||||||||||||||||
_IntegralDistance is used only once. If you want, you could roll these back up into a single parameter