aboutsummaryrefslogtreecommitdiff
path: root/tests/dir-iterator/driver.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-07-01 17:47:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-07-01 17:47:54 +0200
commit38c8f0efd8f033be8fb8278aa5d0eb704dedee55 (patch)
treed06d01988c0cab4ecc82e170fd520d6acbdbc710 /tests/dir-iterator/driver.cxx
parentdc89d29d65b6f383fbaea9a973c4e7b96723df9d (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