
14 Jul
2012
14 Jul
'12
12:53 p.m.
On Sat, Jul 14, 2012 at 2:34 PM, Beman Dawes <bdawes@acm.org> wrote:
The implementation would be more elegant, but the user would have to write:
BOOST_FOREACH(directory_entry& x, directory_range(directory_iterator(".")))
instead of the simpler:
BOOST_FOREACH(directory_entry& x, directory_iterator("."))
I verified the above with an actual implementation and test.
What about this? BOOST_FOREACH(directory_entry& x, directory_range(".")) -- Olaf