diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-01 17:47:54 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-01 17:47:54 +0200 |
commit | 38c8f0efd8f033be8fb8278aa5d0eb704dedee55 (patch) | |
tree | d06d01988c0cab4ecc82e170fd520d6acbdbc710 /tests/dir-iterator/driver.cxx | |
parent | dc89d29d65b6f383fbaea9a973c4e7b96723df9d (diff) |
Improve reverse_iterate implementation
If the passed range is an rvalue, then move it into our private copy.
Otherwise, with nested ranges, there is no guarantee the thing will
still be alive once we get to iterating over it.
Diffstat (limited to 'tests/dir-iterator/driver.cxx')
0 files changed, 0 insertions, 0 deletions