Code: Select all
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\regex(1019): error C2039: 'difference_type': is not a member of 'std::iterator_traits<_BidIt>'
1> with
1> [
1> _BidIt=int
1> ]
1> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\regex(2904): note: see reference to class template instantiation 'std::match_results<_BidIt,std::allocator<std::sub_match<_BidIt>>>' being compiled
1> with
1> [
1> _BidIt=int
1> ]
1> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\regex(2952): note: see reference to function template instantiation '_OutIt std::_Regex_replace<_Iter,int,std::regex_traits<char>,char,std::char_traits<char>,std::allocator<char>>(_OutIt,_BidIt,_BidIt,const std::basic_regex<char,std::regex_traits<char>> &,const std::basic_string<char,std::char_traits<char>,std::allocator<char>> &,std::regex_constants::match_flag_type)' being compiled
1> with
1> [
1> _OutIt=std::back_insert_iterator<std::string>,
1> _Iter=std::back_insert_iterator<std::string>,
1> _BidIt=int
1> ]
1> string_addon.cpp(342): note: see reference to function template instantiation '_OutIt std::regex_replace<std::back_insert_iterator<std::string>,int,std::regex_traits<char>,char,std::char_traits<char>,std::allocator<char>>(_OutIt,_BidIt,_BidIt,const std::basic_regex<char,std::regex_traits<char>> &,const std::basic_string<char,std::char_traits<char>,std::allocator<char>> &,std::regex_constants::match_flag_type)' being compiled
1> with
1> [
1> _OutIt=std::back_insert_iterator<std::string>,
1> _BidIt=int
1> ]
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\regex(1019): error C3646: 'difference_type': unknown override specifier
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\regex(1019): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\regex(1022): error C2039: 'value_type': is not a member of 'std::iterator_traits<_BidIt>'
1> with
1> [
1> _BidIt=int
1> ]
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\regex(550): error C2039: 'value_type': is not a member of 'std::iterator_traits<_BidIt>'
1> with
1> [
1> _BidIt=int
1> ]
1> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\regex(1365): note: see reference to class template instantiation 'std::sub_match<_BidIt>' being compiled
1> with
1> [
1> _BidIt=int
1> ]
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\regex(550): error C3646: 'value_type': unknown override specifier
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\regex(550): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\regex(551): error C2039: 'difference_type': is not a member of 'std::iterator_traits<_BidIt>'
1> with
1> [
1> _BidIt=int
1> ]
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\regex(551): error C3646: 'difference_type': unknown override specifier
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\regex(551): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\regex(2916): error C2664: '_OutIt std::match_results<_BidIt,std::allocator<std::sub_match<_BidIt>>>::_Format<_OutIt>(_OutIt,const std::sub_match<_BidIt> *,const std::sub_match<_BidIt> *,std::regex_constants::match_flag_type) const': cannot convert argument 2 from 'const char *' to 'const std::sub_match<_BidIt> *'
1> with
1> [
1> _OutIt=std::back_insert_iterator<std::string>,
1> _BidIt=int
1> ]
1> and
1> [
1> _BidIt=int
1> ]
1> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\regex(2916): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========