Boost logo

Boost :

From: Martin (adrianm_at_[hidden])
Date: 2005-03-11 06:19:45


Is it possible to use the BOOST_FOREACH technology to create something that
work with objects where end is the default constructor?

example boost::filesystem

for (directory_iterator itr("C:\\"); itr != directory_iterator(); ++itr)
  ..

BOOST_FOREACH_2(directory_iterator itr("C:\\"))


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk