forked from boostorg/iterator
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
split advance_impl for bidirectional iterators
Split according to signedness/unsignedness of Distance, as the checks "if (n >= 0)" and "while (n < 0)" produce type-limits warnings in GCC 4.6-7 when n is unsigned.
- Loading branch information
1 parent
72a7fb1
commit 2f345ff
Showing
1 changed file
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters