test.cxx: In function `int main()': test.cxx:13: error: invalid initialization of reference of type 'boost::match_results<__gnu_cxx::__normal_iterator, std::allocator > >, std::allocator > >&' from expression of type 'boost::cmatch' /usr/include/boost/regex/v4/regex_match.hpp:74: error: in passing argument 2 of `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp: In member function `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]': /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/boost/regex/v4/perl_matcher_common.hpp:162: error: no match for 'operator==' in '((const std::pair*)(+(+((boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator, std::allocator > >, std::allocator >, boost::regex_traits > >*)this)->boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator, std::allocator > >, std::allocator >, boost::regex_traits > >::m_result)->boost::match_results::operator[] [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >](0)))->std::pair::second == ((boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator, std::allocator > >, std::allocator >, boost::regex_traits > >*)this)->boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator, std::allocator > >, std::allocator >, boost::regex_traits > >::last' /usr/include/boost/regex/v4/match_results.hpp: In member function `void boost::match_results::set_size(typename Allocator::size_type, BidiIterator, BidiIterator) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]': /usr/include/boost/regex/v4/perl_matcher_common.hpp:155: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/boost/regex/v4/match_results.hpp:256: error: cannot convert `__gnu_cxx::__normal_iterator, std::allocator > >' to `const char*' in assignment /usr/include/boost/regex/v4/match_results.hpp: In member function `typename Allocator::const_reference boost::match_results::operator[](int) const [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]': /usr/include/boost/regex/v4/perl_matcher_common.hpp:162: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/boost/regex/v4/match_results.hpp:125: error: invalid initialization of reference of type 'const boost::sub_match&' from expression of type 'const boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >' /usr/include/c++/3.4/bits/stl_vector.h: In member function `__gnu_cxx::__normal_iterator > std::vector<_Tp, _Alloc>::begin() [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]': /usr/include/boost/regex/v4/match_results.hpp:247: instantiated from `void boost::match_results::set_size(typename Allocator::size_type, BidiIterator, BidiIterator) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:155: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/c++/3.4/bits/stl_vector.h:314: error: no matching function for call to `__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >::__normal_iterator(boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >*&)' /usr/include/c++/3.4/bits/stl_iterator.h:587: note: candidates are: __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >::__normal_iterator(const __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >&) /usr/include/c++/3.4/bits/stl_iterator.h:603: note: __gnu_cxx::__normal_iterator<_Iterator, _Container>::__normal_iterator(const _Iterator&) [with _Iterator = boost::sub_match*, _Container = std::vector, std::allocator > > >, std::allocator > >] /usr/include/c++/3.4/bits/stl_iterator.h:600: note: __gnu_cxx::__normal_iterator<_Iterator, _Container>::__normal_iterator() [with _Iterator = boost::sub_match*, _Container = std::vector, std::allocator > > >, std::allocator > >] /usr/include/c++/3.4/bits/stl_vector.h: In member function `__gnu_cxx::__normal_iterator > std::vector<_Tp, _Alloc>::end() [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]': /usr/include/boost/regex/v4/match_results.hpp:247: instantiated from `void boost::match_results::set_size(typename Allocator::size_type, BidiIterator, BidiIterator) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:155: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/c++/3.4/bits/stl_vector.h:330: error: no matching function for call to `__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >::__normal_iterator(boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >*&)' /usr/include/c++/3.4/bits/stl_iterator.h:587: note: candidates are: __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >::__normal_iterator(const __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >&) /usr/include/c++/3.4/bits/stl_iterator.h:603: note: __gnu_cxx::__normal_iterator<_Iterator, _Container>::__normal_iterator(const _Iterator&) [with _Iterator = boost::sub_match*, _Container = std::vector, std::allocator > > >, std::allocator > >] /usr/include/c++/3.4/bits/stl_iterator.h:600: note: __gnu_cxx::__normal_iterator<_Iterator, _Container>::__normal_iterator() [with _Iterator = boost::sub_match*, _Container = std::vector, std::allocator > > >, std::allocator > >] /usr/include/c++/3.4/bits/stl_algobase.h: In function `void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >, _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >]': /usr/include/boost/regex/v4/match_results.hpp:248: instantiated from `void boost::match_results::set_size(typename Allocator::size_type, BidiIterator, BidiIterator) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:155: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/c++/3.4/bits/stl_algobase.h:524: error: no match for 'operator=' in '(&__first)->__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = boost::sub_match*, _Container = std::vector, std::allocator > > >, std::allocator > >]() = __value' /usr/include/boost/regex/v4/sub_match.hpp:146: note: candidates are: boost::sub_match& boost::sub_match::operator=(const boost::sub_match&) [with BidiIterator = const char*] /usr/include/c++/3.4/bits/vector.tcc: In member function `std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]': /usr/include/boost/regex/v4/match_results.hpp:70: instantiated from `boost::match_results& boost::match_results::operator=(const boost::match_results&) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:158: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/c++/3.4/bits/vector.tcc:141: error: cannot convert `boost::sub_match*' to `boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >*' in assignment /usr/include/boost/regex/v4/match_results.hpp: In member function `void boost::match_results::set_first(BidiIterator) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]': /usr/include/boost/regex/v4/perl_matcher_common.hpp:274: instantiated from `bool boost::re_detail::perl_matcher::match_prefix() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:160: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/boost/regex/v4/match_results.hpp:269: error: cannot convert `__gnu_cxx::__normal_iterator, std::allocator > >' to `const char*' in assignment /usr/include/boost/regex/v4/match_results.hpp:270: error: no match for 'operator!=' in '((std::pair*)(+((std::vector, std::allocator > > >, std::allocator > >*)this)->std::vector<_Tp, _Alloc>::operator[] [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >](1u)))->std::pair::first != i' /usr/include/boost/regex/v4/match_results.hpp:272: error: cannot convert `__gnu_cxx::__normal_iterator, std::allocator > >' to `const char*' in assignment /usr/include/boost/regex/v4/match_results.hpp: In member function `void boost::match_results::set_second(BidiIterator, typename Allocator::size_type, bool) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]': /usr/include/boost/regex/v4/perl_matcher_common.hpp:280: instantiated from `bool boost::re_detail::perl_matcher::match_prefix() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:160: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/boost/regex/v4/match_results.hpp:230: error: cannot convert `__gnu_cxx::__normal_iterator, std::allocator > >' to `const char*' in assignment /usr/include/boost/regex/v4/match_results.hpp:234: error: cannot convert `__gnu_cxx::__normal_iterator, std::allocator > >' to `const char*' in assignment /usr/include/c++/3.4/bits/stl_vector.h: In member function `void std::_Vector_base<_Tp, _Alloc>::_M_deallocate(_Tp*, size_t) [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]': /usr/include/c++/3.4/bits/stl_vector.h:106: instantiated from `std::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]' /usr/include/c++/3.4/bits/stl_vector.h:182: instantiated from `std::vector<_Tp, _Alloc>::vector(const typename std::_Vector_base<_Tp, _Alloc>::allocator_type&) [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]' /usr/include/boost/regex/v4/match_results.hpp:62: instantiated from `boost::match_results::match_results(const Allocator&) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:66: instantiated from `boost::re_detail::perl_matcher::perl_matcher(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:42: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/c++/3.4/bits/stl_vector.h:117: error: no matching function for call to `std::_Vector_base, std::allocator > > >, std::allocator > >::_Vector_impl::deallocate(boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >*&, size_t&)' /usr/include/c++/3.4/ext/mt_allocator.h:419: note: candidates are: void __gnu_cxx::__mt_alloc<_Tp>::deallocate(_Tp*, size_t) [with _Tp = boost::sub_match] /usr/include/c++/3.4/bits/stl_vector.h: In member function `__gnu_cxx::__normal_iterator > std::vector<_Tp, _Alloc>::begin() const [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]': /usr/include/c++/3.4/bits/stl_vector.h:375: instantiated from `size_t std::vector<_Tp, _Alloc>::size() const [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]' /usr/include/boost/regex/v4/match_results.hpp:244: instantiated from `void boost::match_results::set_size(typename Allocator::size_type, BidiIterator, BidiIterator) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:155: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/c++/3.4/bits/stl_vector.h:322: error: no matching function for call to `__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >::__normal_iterator(boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >* const&)' /usr/include/c++/3.4/bits/stl_iterator.h:587: note: candidates are: __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >::__normal_iterator(const __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >&) /usr/include/c++/3.4/bits/stl_iterator.h:603: note: __gnu_cxx::__normal_iterator<_Iterator, _Container>::__normal_iterator(const _Iterator&) [with _Iterator = const boost::sub_match*, _Container = std::vector, std::allocator > > >, std::allocator > >] /usr/include/c++/3.4/bits/stl_iterator.h:600: note: __gnu_cxx::__normal_iterator<_Iterator, _Container>::__normal_iterator() [with _Iterator = const boost::sub_match*, _Container = std::vector, std::allocator > > >, std::allocator > >] /usr/include/c++/3.4/bits/stl_vector.h: In member function `__gnu_cxx::__normal_iterator > std::vector<_Tp, _Alloc>::end() const [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]': /usr/include/c++/3.4/bits/stl_vector.h:375: instantiated from `size_t std::vector<_Tp, _Alloc>::size() const [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]' /usr/include/boost/regex/v4/match_results.hpp:244: instantiated from `void boost::match_results::set_size(typename Allocator::size_type, BidiIterator, BidiIterator) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:155: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/c++/3.4/bits/stl_vector.h:338: error: no matching function for call to `__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >::__normal_iterator(boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >* const&)' /usr/include/c++/3.4/bits/stl_iterator.h:587: note: candidates are: __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >::__normal_iterator(const __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >&) /usr/include/c++/3.4/bits/stl_iterator.h:603: note: __gnu_cxx::__normal_iterator<_Iterator, _Container>::__normal_iterator(const _Iterator&) [with _Iterator = const boost::sub_match*, _Container = std::vector, std::allocator > > >, std::allocator > >] /usr/include/c++/3.4/bits/stl_iterator.h:600: note: __gnu_cxx::__normal_iterator<_Iterator, _Container>::__normal_iterator() [with _Iterator = const boost::sub_match*, _Container = std::vector, std::allocator > > >, std::allocator > >] /usr/include/c++/3.4/bits/vector.tcc: In member function `void std::vector<_Tp, _Alloc>::_M_fill_insert(__gnu_cxx::__normal_iterator >, size_t, const _Tp&) [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]': /usr/include/c++/3.4/bits/stl_vector.h:612: instantiated from `void std::vector<_Tp, _Alloc>::insert(__gnu_cxx::__normal_iterator >, size_t, const _Tp&) [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]' /usr/include/boost/regex/v4/match_results.hpp:254: instantiated from `void boost::match_results::set_size(typename Allocator::size_type, BidiIterator, BidiIterator) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:155: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/c++/3.4/bits/vector.tcc:283: error: no matching function for call to `__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >::__normal_iterator(boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >*&)' /usr/include/c++/3.4/bits/stl_iterator.h:587: note: candidates are: __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >::__normal_iterator(const __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >&) /usr/include/c++/3.4/bits/stl_iterator.h:603: note: __gnu_cxx::__normal_iterator<_Iterator, _Container>::__normal_iterator(const _Iterator&) [with _Iterator = boost::sub_match*, _Container = std::vector, std::allocator > > >, std::allocator > >] /usr/include/c++/3.4/bits/stl_iterator.h:600: note: __gnu_cxx::__normal_iterator<_Iterator, _Container>::__normal_iterator() [with _Iterator = boost::sub_match*, _Container = std::vector, std::allocator > > >, std::allocator > >] /usr/include/c++/3.4/bits/stl_vector.h:612: instantiated from `void std::vector<_Tp, _Alloc>::insert(__gnu_cxx::__normal_iterator >, size_t, const _Tp&) [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]' /usr/include/boost/regex/v4/match_results.hpp:254: instantiated from `void boost::match_results::set_size(typename Allocator::size_type, BidiIterator, BidiIterator) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:155: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/c++/3.4/bits/vector.tcc:308: error: no matching function for call to `__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >::__normal_iterator(boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >*)' /usr/include/c++/3.4/bits/stl_iterator.h:587: note: candidates are: __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >::__normal_iterator(const __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >&) /usr/include/c++/3.4/bits/stl_iterator.h:603: note: __gnu_cxx::__normal_iterator<_Iterator, _Container>::__normal_iterator(const _Iterator&) [with _Iterator = boost::sub_match*, _Container = std::vector, std::allocator > > >, std::allocator > >] /usr/include/c++/3.4/bits/stl_iterator.h:600: note: __gnu_cxx::__normal_iterator<_Iterator, _Container>::__normal_iterator() [with _Iterator = boost::sub_match*, _Container = std::vector, std::allocator > > >, std::allocator > >] /usr/include/c++/3.4/bits/stl_vector.h:612: instantiated from `void std::vector<_Tp, _Alloc>::insert(__gnu_cxx::__normal_iterator >, size_t, const _Tp&) [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]' /usr/include/boost/regex/v4/match_results.hpp:254: instantiated from `void boost::match_results::set_size(typename Allocator::size_type, BidiIterator, BidiIterator) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:155: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/c++/3.4/bits/vector.tcc:321: error: no matching function for call to `std::vector, std::allocator > > >, std::allocator > >::_M_deallocate(boost::sub_match* const&, const size_t&)' /usr/include/c++/3.4/bits/stl_vector.h:117: note: candidates are: void std::_Vector_base<_Tp, _Alloc>::_M_deallocate(_Tp*, size_t) [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >] /usr/include/c++/3.4/bits/stl_vector.h:612: instantiated from `void std::vector<_Tp, _Alloc>::insert(__gnu_cxx::__normal_iterator >, size_t, const _Tp&) [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]' /usr/include/boost/regex/v4/match_results.hpp:254: instantiated from `void boost::match_results::set_size(typename Allocator::size_type, BidiIterator, BidiIterator) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:155: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/c++/3.4/bits/vector.tcc:327: error: cannot convert `boost::sub_match* const' to `boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >*' in assignment /usr/include/c++/3.4/bits/stl_vector.h:612: instantiated from `void std::vector<_Tp, _Alloc>::insert(__gnu_cxx::__normal_iterator >, size_t, const _Tp&) [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]' /usr/include/boost/regex/v4/match_results.hpp:254: instantiated from `void boost::match_results::set_size(typename Allocator::size_type, BidiIterator, BidiIterator) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:155: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/c++/3.4/bits/vector.tcc:328: error: cannot convert `boost::sub_match* const' to `boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >*' in assignment /usr/include/c++/3.4/bits/stl_vector.h:612: instantiated from `void std::vector<_Tp, _Alloc>::insert(__gnu_cxx::__normal_iterator >, size_t, const _Tp&) [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]' /usr/include/boost/regex/v4/match_results.hpp:254: instantiated from `void boost::match_results::set_size(typename Allocator::size_type, BidiIterator, BidiIterator) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:155: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/c++/3.4/bits/vector.tcc:329: error: cannot convert `boost::sub_match*' to `boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >*' in assignment /usr/include/c++/3.4/bits/stl_vector.h: In member function `size_t std::vector<_Tp, _Alloc>::capacity() const [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]': /usr/include/c++/3.4/bits/vector.tcc:135: instantiated from `std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]' /usr/include/boost/regex/v4/match_results.hpp:70: instantiated from `boost::match_results& boost::match_results::operator=(const boost::match_results&) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:158: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/c++/3.4/bits/stl_vector.h:420: error: no matching function for call to `__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >::__normal_iterator(boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >* const&)' /usr/include/c++/3.4/bits/stl_iterator.h:587: note: candidates are: __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >::__normal_iterator(const __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >&) /usr/include/c++/3.4/bits/stl_iterator.h:603: note: __gnu_cxx::__normal_iterator<_Iterator, _Container>::__normal_iterator(const _Iterator&) [with _Iterator = const boost::sub_match*, _Container = std::vector, std::allocator > > >, std::allocator > >] /usr/include/c++/3.4/bits/stl_iterator.h:600: note: __gnu_cxx::__normal_iterator<_Iterator, _Container>::__normal_iterator() [with _Iterator = const boost::sub_match*, _Container = std::vector, std::allocator > > >, std::allocator > >] /usr/include/c++/3.4/bits/stl_vector.h: In member function `typename _Alloc::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_t, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >, _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]': /usr/include/c++/3.4/bits/vector.tcc:137: instantiated from `std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]' /usr/include/boost/regex/v4/match_results.hpp:70: instantiated from `boost::match_results& boost::match_results::operator=(const boost::match_results&) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:158: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/c++/3.4/bits/stl_vector.h:715: error: cannot convert `boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >*' to `boost::sub_match*' in initialization /usr/include/c++/3.4/bits/vector.tcc:137: instantiated from `std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]' /usr/include/boost/regex/v4/match_results.hpp:70: instantiated from `boost::match_results& boost::match_results::operator=(const boost::match_results&) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:158: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/c++/3.4/bits/stl_vector.h:723: error: no matching function for call to `std::vector, std::allocator > > >, std::allocator > >::_M_deallocate(boost::sub_match*&, size_t&)' /usr/include/c++/3.4/bits/stl_vector.h:117: note: candidates are: void std::_Vector_base<_Tp, _Alloc>::_M_deallocate(_Tp*, size_t) [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >] /usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function `bool boost::re_detail::perl_matcher::match_startmark() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]': /usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:153: instantiated from `bool boost::re_detail::perl_matcher::match_all_states() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:276: instantiated from `bool boost::re_detail::perl_matcher::match_prefix() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:160: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:394: error: no matching function for call to `boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator, std::allocator > >, std::allocator >, boost::regex_traits > >::push_matched_paren(int&, const boost::sub_match&)' /usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:197: note: candidates are: void boost::re_detail::perl_matcher::push_matched_paren(int, const boost::sub_match&) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >] /usr/include/boost/regex/v4/perl_matcher_common.hpp: In member function `bool boost::re_detail::perl_matcher::match_match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]': /usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:153: instantiated from `bool boost::re_detail::perl_matcher::match_all_states() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:276: instantiated from `bool boost::re_detail::perl_matcher::match_prefix() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:160: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/boost/regex/v4/perl_matcher_common.hpp:423: error: no match for 'operator==' in '((boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator, std::allocator > >, std::allocator >, boost::regex_traits > >*)this)->boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator, std::allocator > >, std::allocator >, boost::regex_traits > >::position == ((const std::pair*)(+((boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator, std::allocator > >, std::allocator >, boost::regex_traits > >*)this)->boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator, std::allocator > >, std::allocator >, boost::regex_traits > >::m_presult->boost::match_results::operator[] [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >](0)))->std::pair::first' /usr/include/boost/regex/v4/perl_matcher_common.hpp: In member function `bool boost::re_detail::perl_matcher::match_backref() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]': /usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:153: instantiated from `bool boost::re_detail::perl_matcher::match_all_states() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:276: instantiated from `bool boost::re_detail::perl_matcher::match_prefix() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:160: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/boost/regex/v4/perl_matcher_common.hpp:587: error: conversion from `const char* const' to non-scalar type `__gnu_cxx::__normal_iterator, std::allocator > >' requested /usr/include/boost/regex/v4/perl_matcher_common.hpp:588: error: conversion from `const char* const' to non-scalar type `__gnu_cxx::__normal_iterator, std::allocator > >' requested /usr/include/boost/regex/v4/match_results.hpp: In member function `void boost::match_results::set_first(BidiIterator, typename Allocator::size_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]': /usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:891: instantiated from `bool boost::re_detail::perl_matcher::unwind_paren(bool) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:858: instantiated from `bool boost::re_detail::perl_matcher::unwind(bool) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:171: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/boost/regex/v4/match_results.hpp:284: error: cannot convert `__gnu_cxx::__normal_iterator, std::allocator > >' to `const char*' in assignment /usr/include/c++/3.4/bits/stl_vector.h: In member function `_Tp* std::_Vector_base<_Tp, _Alloc>::_M_allocate(size_t) [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]': /usr/include/c++/3.4/bits/vector.tcc:308: instantiated from `void std::vector<_Tp, _Alloc>::_M_fill_insert(__gnu_cxx::__normal_iterator >, size_t, const _Tp&) [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]' /usr/include/c++/3.4/bits/stl_vector.h:612: instantiated from `void std::vector<_Tp, _Alloc>::insert(__gnu_cxx::__normal_iterator >, size_t, const _Tp&) [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]' /usr/include/boost/regex/v4/match_results.hpp:254: instantiated from `void boost::match_results::set_size(typename Allocator::size_type, BidiIterator, BidiIterator) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:155: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/c++/3.4/bits/stl_vector.h:113: error: cannot convert `boost::sub_match*' to `boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >*' in return /usr/include/boost/regex/v4/match_results.hpp: In member function `void boost::match_results::set_second(BidiIterator) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]': /usr/include/boost/regex/v4/perl_matcher_common.hpp:429: instantiated from `bool boost::re_detail::perl_matcher::match_match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:153: instantiated from `bool boost::re_detail::perl_matcher::match_all_states() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:276: instantiated from `bool boost::re_detail::perl_matcher::match_prefix() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:160: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/boost/regex/v4/match_results.hpp:217: error: cannot convert `__gnu_cxx::__normal_iterator, std::allocator > >' to `const char*' in assignment /usr/include/boost/regex/v4/match_results.hpp:219: error: cannot convert `__gnu_cxx::__normal_iterator, std::allocator > >' to `const char*' in assignment /usr/include/boost/regex/v4/match_results.hpp: In member function `void boost::match_results::maybe_assign(const boost::match_results&) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]': /usr/include/boost/regex/v4/perl_matcher_common.hpp:434: instantiated from `bool boost::re_detail::perl_matcher::match_match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:153: instantiated from `bool boost::re_detail::perl_matcher::match_all_states() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:276: instantiated from `bool boost::re_detail::perl_matcher::match_prefix() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:160: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/boost/regex/v4/match_results.hpp:313: error: conversion from `const char* const' to non-scalar type `__gnu_cxx::__normal_iterator, std::allocator > >' requested /usr/include/boost/regex/v4/perl_matcher_common.hpp:434: instantiated from `bool boost::re_detail::perl_matcher::match_match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:153: instantiated from `bool boost::re_detail::perl_matcher::match_all_states() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:276: instantiated from `bool boost::re_detail::perl_matcher::match_prefix() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:160: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/boost/regex/v4/match_results.hpp:314: error: no match for 'operator==' in '((const std::pair*)(&p1)->__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator-> [with _Iterator = const boost::sub_match*, _Container = std::vector, std::allocator > > >, std::allocator > >]())->std::pair::first == end' /usr/include/boost/regex/v4/perl_matcher_common.hpp:434: instantiated from `bool boost::re_detail::perl_matcher::match_match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:153: instantiated from `bool boost::re_detail::perl_matcher::match_all_states() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:276: instantiated from `bool boost::re_detail::perl_matcher::match_prefix() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:160: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/boost/regex/v4/match_results.hpp:329: error: no match for 'operator==' in '((const std::pair*)(&p1)->__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator-> [with _Iterator = const boost::sub_match*, _Container = std::vector, std::allocator > > >, std::allocator > >]())->std::pair::first == end' /usr/include/boost/regex/v4/perl_matcher_common.hpp:434: instantiated from `bool boost::re_detail::perl_matcher::match_match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:153: instantiated from `bool boost::re_detail::perl_matcher::match_all_states() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:276: instantiated from `bool boost::re_detail::perl_matcher::match_prefix() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:160: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/boost/regex/v4/match_results.hpp:331: error: no match for 'operator!=' in '((const std::pair*)(&p2)->__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator-> [with _Iterator = const boost::sub_match*, _Container = std::vector, std::allocator > > >, std::allocator > >]())->std::pair::first != end' /usr/include/boost/regex/v4/perl_matcher_common.hpp:434: instantiated from `bool boost::re_detail::perl_matcher::match_match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:153: instantiated from `bool boost::re_detail::perl_matcher::match_all_states() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:276: instantiated from `bool boost::re_detail::perl_matcher::match_prefix() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:160: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/boost/regex/v4/match_results.hpp:350: error: no match for 'operator==' in '((const std::pair*)(&p2)->__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator-> [with _Iterator = const boost::sub_match*, _Container = std::vector, std::allocator > > >, std::allocator > >]())->std::pair::first == end' /usr/include/boost/regex/v4/perl_matcher_common.hpp:434: instantiated from `bool boost::re_detail::perl_matcher::match_match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:153: instantiated from `bool boost::re_detail::perl_matcher::match_all_states() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:276: instantiated from `bool boost::re_detail::perl_matcher::match_prefix() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:160: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/boost/regex/v4/match_results.hpp:355: error: no matching function for call to `distance(__gnu_cxx::__normal_iterator, std::allocator > >&, const char* const&)' /usr/include/boost/regex/v4/perl_matcher_common.hpp:434: instantiated from `bool boost::re_detail::perl_matcher::match_match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:153: instantiated from `bool boost::re_detail::perl_matcher::match_all_states() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:276: instantiated from `bool boost::re_detail::perl_matcher::match_prefix() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:160: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/boost/regex/v4/match_results.hpp:356: error: no matching function for call to `distance(__gnu_cxx::__normal_iterator, std::allocator > >&, const char* const&)' /usr/include/c++/3.4/bits/stl_construct.h: In function `void std::_Construct(_T1*, const _T2&) [with _T1 = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _T2 = boost::sub_match]': /usr/include/c++/3.4/bits/stl_uninitialized.h:86: instantiated from `_ForwardIterator std::__uninitialized_copy_aux(_InputIterator, _InputIterator, _ForwardIterator, __false_type) [with _InputIterator = __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >, _ForwardIterator = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >*]' /usr/include/c++/3.4/bits/stl_uninitialized.h:112: instantiated from `_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >, _ForwardIterator = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >*]' /usr/include/c++/3.4/bits/vector.tcc:152: instantiated from `std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]' /usr/include/boost/regex/v4/match_results.hpp:70: instantiated from `boost::match_results& boost::match_results::operator=(const boost::match_results&) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:158: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/c++/3.4/bits/stl_construct.h:81: error: no matching function for call to `boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >::sub_match(const boost::sub_match&)' /usr/include/boost/regex/v4/sub_match.hpp:136: note: candidates are: boost::sub_match::sub_match(const boost::sub_match&, bool) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >] /usr/include/boost/regex/v4/sub_match.hpp:44: note: boost::sub_match::sub_match(BidiIterator) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >] /usr/include/boost/regex/v4/sub_match.hpp:43: note: boost::sub_match::sub_match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >] /usr/include/c++/3.4/bits/stl_construct.h: In function `void std::_Construct(_T1*, const _T2&) [with _T1 = boost::sub_match, _T2 = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >]': /usr/include/c++/3.4/bits/stl_uninitialized.h:194: instantiated from `_ForwardIterator std::__uninitialized_fill_n_aux(_ForwardIterator, _Size, const _Tp&, __false_type) [with _ForwardIterator = __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >, _Size = unsigned int, _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >]' /usr/include/c++/3.4/bits/stl_uninitialized.h:219: instantiated from `_ForwardIterator std::uninitialized_fill_n(_ForwardIterator, _Size, const _Tp&) [with _ForwardIterator = __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >, _Size = unsigned int, _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >]' /usr/include/c++/3.4/bits/vector.tcc:314: instantiated from `void std::vector<_Tp, _Alloc>::_M_fill_insert(__gnu_cxx::__normal_iterator >, size_t, const _Tp&) [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]' /usr/include/c++/3.4/bits/stl_vector.h:612: instantiated from `void std::vector<_Tp, _Alloc>::insert(__gnu_cxx::__normal_iterator >, size_t, const _Tp&) [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]' /usr/include/boost/regex/v4/match_results.hpp:254: instantiated from `void boost::match_results::set_size(typename Allocator::size_type, BidiIterator, BidiIterator) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:155: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/c++/3.4/bits/stl_construct.h:81: error: no matching function for call to `boost::sub_match::sub_match(const boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >&)' /usr/include/boost/regex/v4/sub_match.hpp:136: note: candidates are: boost::sub_match::sub_match(const boost::sub_match&, bool) [with BidiIterator = const char*] /usr/include/boost/regex/v4/sub_match.hpp:44: note: boost::sub_match::sub_match(BidiIterator) [with BidiIterator = const char*] /usr/include/boost/regex/v4/sub_match.hpp:43: note: boost::sub_match::sub_match() [with BidiIterator = const char*] /usr/include/c++/3.4/bits/stl_algobase.h: In function `_OutputIterator std::__copy(_RandomAccessIterator, _RandomAccessIterator, _OutputIterator, std::random_access_iterator_tag) [with _RandomAccessIterator = const boost::sub_match*, _OutputIterator = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >*]': /usr/include/c++/3.4/bits/stl_algobase.h:266: instantiated from `_OutputIterator std::__copy_aux2(_InputIterator, _InputIterator, _OutputIterator, __false_type) [with _InputIterator = const boost::sub_match*, _OutputIterator = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >*]' /usr/include/c++/3.4/bits/stl_algobase.h:308: instantiated from `_OutputIterator std::__copy_ni2(_InputIterator, _InputIterator, _OutputIterator, __false_type) [with _InputIterator = const boost::sub_match*, _OutputIterator = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >*]' /usr/include/c++/3.4/bits/stl_algobase.h:317: instantiated from `_OutputIterator std::__copy_ni1(_InputIterator, _InputIterator, _OutputIterator, __true_type) [with _InputIterator = __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >, _OutputIterator = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >*]' /usr/include/c++/3.4/bits/stl_algobase.h:358: instantiated from `_OutputIterator std::copy(_InputIterator, _InputIterator, _OutputIterator) [with _InputIterator = __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, std::allocator > > >, _OutputIterator = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >*]' /usr/include/c++/3.4/bits/vector.tcc:151: instantiated from `std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = boost::sub_match<__gnu_cxx::__normal_iterator, std::allocator > > >, _Alloc = std::allocator >]' /usr/include/boost/regex/v4/match_results.hpp:70: instantiated from `boost::match_results& boost::match_results::operator=(const boost::match_results&) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:158: instantiated from `bool boost::re_detail::perl_matcher::match_imp() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/perl_matcher_common.hpp:134: instantiated from `bool boost::re_detail::perl_matcher::match() [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:43: instantiated from `bool boost::regex_match(BidiIterator, BidiIterator, boost::match_results&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' /usr/include/boost/regex/v4/regex_match.hpp:75: instantiated from `bool boost::regex_match(const std::basic_string&, boost::match_results::const_iterator, Allocator>&, const boost::basic_regex&, boost::regex_constants::match_flag_type) [with ST = std::char_traits, SA = std::allocator, Allocator = std::allocator >, charT = char, traits = boost::regex_traits >]' test.cxx:13: instantiated from here /usr/include/c++/3.4/bits/stl_algobase.h:247: error: no match for 'operator=' in '*__result = *__first' /usr/include/boost/regex/v4/sub_match.hpp:146: note: candidates are: boost::sub_match& boost::sub_match::operator=(const boost::sub_match&) [with BidiIterator = __gnu_cxx::__normal_iterator, std::allocator > >]