diff options
| author | Jonathan Wakely <jwakely@redhat.com> | 2017-06-05 11:34:13 +0100 |
|---|---|---|
| committer | Jonathan Wakely <redi@gcc.gnu.org> | 2017-06-05 11:34:13 +0100 |
| commit | 6c2417786217d33b27e7079647ed5f1b10b235c7 (patch) | |
| tree | 6bc2ea8896e22b2dcc0ccc167b52b5e8895759e7 /libcpp/include/cpplib.h | |
| parent | d08606ce6ceef0cb9fb2620e7dc2685867ce00df (diff) | |
| download | gcc-6c2417786217d33b27e7079647ed5f1b10b235c7.zip gcc-6c2417786217d33b27e7079647ed5f1b10b235c7.tar.gz gcc-6c2417786217d33b27e7079647ed5f1b10b235c7.tar.bz2 | |
Optimize std::advance for single increments
* include/bits/stl_iterator_base_funcs.h
(__advance<_RandomAccessIterator, _Distance>): Optimize for next/prev
cases where incrementing or decrementing a single step.
From-SVN: r248875
Diffstat (limited to 'libcpp/include/cpplib.h')
0 files changed, 0 insertions, 0 deletions
