commit | d36fc70220ed17b325425beae36550211309756e | [log] [tgz] |
---|---|---|
author | Marshall Clow <mclow.lists@gmail.com> | Fri Mar 22 22:32:20 2019 +0000 |
committer | Marshall Clow <mclow.lists@gmail.com> | Fri Mar 22 22:32:20 2019 +0000 |
tree | 670a3302867ed806fc22513434d14bcc94e73664 | |
parent | 61ce4ebc455372b0b26b884309a618ffb9a3a95d [diff] |
Fix a minor bug with std::next and prev not and negative numbers. In particular, std::prev cannot require Bidirectional Iterators, because you might 'go back' -1 places, which goes forward. Thanks to Ville and Jonathan for the bug report. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@356818 91177308-0d34-0410-b5e6-96231b3b80d8