Added extra iterator based tests

[SVN r22385]
This commit is contained in:
John Maddock
2004-02-25 12:35:08 +00:00
parent b3f7d35f68
commit 02c652c01e

View File

@ -87,7 +87,16 @@ int main()
r.assign(s, boost::regex::perl);
r.assign(c_exp, c_exp+1);
r.assign(c_exp, c_exp+1, boost::regex::perl);
#endif
#endif
//
//check iterators work with std lib algorithms:
//
boost::cregex_iterator ri, rj;
std::distance(ri, rj);
std::advance(ri, 0);
boost::cregex_token_iterator rk, rm;
std::distance(rk, rm);
std::advance(rk, 0);
return 0;
}