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:\\"))