1> main.cpp
1>main.cpp(10): error C2143: syntax error : missing ';' before '<'
1>main.cpp(10): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>main.cpp(43): error C2784: 'bool std::tr1::regex_search(const std::basic_string<_Elem,_StTraits,_StAlloc> &,const std::tr1::basic_regex<_Elem,_RxTraits> &,std::tr1::regex_constants::match_flag_type)' : could not deduce template argument for 'const std::basic_string<_Elem,_StTraits,_StAlloc> &' from 'std::vector<_Ty>'
1> with
1> [
1> _Ty=char
1> ]
1> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\regex(2597) : see declaration of 'std::tr1::regex_search'
1>main.cpp(43): error C2784: 'bool std::tr1::regex_search(const std::basic_string<_Elem,_StTraits,_StAlloc> &,const std::tr1::basic_regex<_Elem,_RxTraits> &,std::tr1::regex_constants::match_flag_type)' : could not deduce template argument for 'const std::basic_string<_Elem,_StTraits,_StAlloc> &' from 'std::vector<_Ty>'
1> with
1> [
1> _Ty=char
1> ]
1> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\regex(2597) : see declaration of 'std::tr1::regex_search'
1>main.cpp(43): error C2784: 'bool std::tr1::regex_search(const std::basic_string<_Elem,_StTraits,_StAlloc> &,const std::tr1::basic_regex<_Elem,_RxTraits> &,std::tr1::regex_constants::match_flag_type)' : could not deduce template argument for 'const std::basic_string<_Elem,_StTraits,_StAlloc> &' from 'std::vector<_Ty>'
1> with
1> [
1> _Ty=char
1> ]
1> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\regex(2597) : see declaration of 'std::tr1::regex_search'
1>main.cpp(43): error C2784: 'bool std::tr1::regex_search(const std::basic_string<_Elem,_StTraits,_StAlloc> &,std::tr1::match_results<::std::basic_string<_Ele m,_StTraits,_StAlloc>::const_iterator,_Alloc> &,const std::tr1::basic_regex<_Elem,_RxTraits> &,std::tr1::regex_constants::match_flag_type)' : could not deduce template argument for 'const std::basic_string<_Elem,_StTraits,_StAlloc> &' from 'std::vector<_Ty>'
1> with
1> [
1> _Ty=char
1> ]
1> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\regex(2581) : see declaration of 'std::tr1::regex_search'
1>main.cpp(43): error C2784: 'bool std::tr1::regex_search(const std::basic_string<_Elem,_StTraits,_StAlloc> &,std::tr1::match_results<::std::basic_string<_Ele m,_StTraits,_StAlloc>::const_iterator,_Alloc> &,const std::tr1::basic_regex<_Elem,_RxTraits> &,std::tr1::regex_constants::match_flag_type)' : could not deduce template argument for 'const std::basic_string<_Elem,_StTraits,_StAlloc> &' from 'std::vector<_Ty>'
1> with
1> [
1> _Ty=char
1> ]
1> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\regex(2581) : see declaration of 'std::tr1::regex_search'
1>main.cpp(43): error C2784: 'bool std::tr1::regex_search(const std::basic_string<_Elem,_StTraits,_StAlloc> &,std::tr1::match_results<::std::basic_string<_Ele m,_StTraits,_StAlloc>::const_iterator,_Alloc> &,const std::tr1::basic_regex<_Elem,_RxTraits> &,std::tr1::regex_constants::match_flag_type)' : could not deduce template argument for 'const std::basic_string<_Elem,_StTraits,_StAlloc> &' from 'std::vector<_Ty>'
1> with
1> [
1> _Ty=char
1> ]
1> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\regex(2581) : see declaration of 'std::tr1::regex_search'
1>main.cpp(43): error C2784: 'bool std::tr1::regex_search(const _Elem *,std::tr1::match_results<const _Elem*,_Alloc> &,const std::tr1::basic_regex<_Elem,_RxTraits> &,std::tr1::regex_constants::match_flag_type)' : could not deduce template argument for 'const _Elem *' from 'std::vector<_Ty>'
1> with
1> [
1> _Ty=char
1> ]
1> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\regex(2566) : see declaration of 'std::tr1::regex_search'
1>main.cpp(43): error C2784: 'bool std::tr1::regex_search(const _Elem *,const std::tr1::basic_regex<_Elem,_RxTraits> &,std::tr1::regex_constants::match_flag_type)' : could not deduce template argument for 'const _Elem *' from 'std::vector<_Ty>'
1> with
1> [
1> _Ty=char
1> ]
1> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\regex(2552) : see declaration of 'std::tr1::regex_search'
1>main.cpp(43): error C2782: 'bool std::tr1::regex_search(_BidIt,_BidIt,const std::tr1::basic_regex<_Elem,_RxTraits> &,std::tr1::regex_constants::match_flag_type)' : template parameter '_BidIt' is ambiguous
1> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\regex(2540) : see declaration of 'std::tr1::regex_search'
1> could be 'std::tr1::cmatch'
1> or 'std::vector<_Ty>'
1> with
1> [
1> _Ty=char
1> ]
1>main.cpp(43): error C2780: 'bool std::tr1::regex_search(_BidIt,_BidIt,std::tr1::mat ch_results<_BidIt,_Alloc> &,const std::tr1::basic_regex<_Elem,_RxTraits> &,std::tr1::regex_constants::match_flag_type)' : expects 5 arguments - 3 provided
1> C:\Program Files\Microsoft Visual Studio 10.0\VC\include\regex(2528) : see declaration of 'std::tr1::regex_search'
1>
1>Build FAILED.