id summary reporter owner description type status milestone component version severity resolution keywords cc 3632 match_results and singular iterator woes with msvc-10.0 Eric Niebler John Maddock "Hi John, I just fixed a similar issue in xpressive and thought that it would probably manifest in your lib, too. Sure enough. The msvc-10.0 beta has new iterator debugging that is very strict. The following code causes a crash in match_results::swap: {{{ #include int main() { using namespace boost; regex rx(""\\w+""); smatch what0, what1; std::string hello(""hello""); if(regex_match(hello, what0, rx)) { what0.swap(what1); } } }}} The problem is that what1.m_base is a singular iterator at this point. The swap tries to assign from it, which is verboten. " Bugs closed Boost 1.43.0 regex Boost Development Trunk Problem fixed regex iterator debugging msvc-10.0