$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Stephen Hewitt (shewitt.au_at_[hidden])
Date: 2006-12-05 21:47:35
I often use Boost.RegEx as follows:
boost::cregex_iterator i = (pBegin, pEnd, /*Stuff here/*);
boost::cregex_iterator e;
for ( ; i!=e; ++i)
{
// Stuff here
}
While there is nothing wrong with this I'd like to be able to use
BOOST_FOREACH to do it. For this to work there would need to be a container
that contains the iterators instead of just creating them directly.