All pastes #2075690 Raw Edit

Miscellany

public text v1 · immutable
#2075690 ·published 2011-06-06 19:01 UTC
rendered paste body
1>------ Build started: Project: foreachtest, Configuration: Debug Win32 ------
1>Compiling...
1>foreachtest.cpp
1>c:\users\jeffm\desktop\foreachtest\foreachtest\foreachtest.cpp(15) : error C2668: 'msvc_typeof_impl::vartypeID' : ambiguous call to overloaded function
1>        c:\users\jeffm\desktop\foreachtest\foreachtest\typeof.h(95): could be 'msvc_typeof_impl::sized<NSize> msvc_typeof_impl::vartypeID<std::_Tree<_Traits>::iterator>(volatile T &)'
1>        with
1>        [
1>            NSize=2,
1>            _Traits=std::_Tset_traits<std::string,std::less<std::string>,std::allocator<std::string>,false>,
1>            T=std::_Tree<std::_Tset_traits<std::string,std::less<std::string>,std::allocator<std::string>,false>>::iterator
1>        ]
1>        c:\users\jeffm\desktop\foreachtest\foreachtest\typeof.h(94): or       'msvc_typeof_impl::sized<NSize> msvc_typeof_impl::vartypeID<std::_Tree<_Traits>::iterator>(const T &)'
1>        with
1>        [
1>            NSize=3,
1>            _Traits=std::_Tset_traits<std::string,std::less<std::string>,std::allocator<std::string>,false>,
1>            T=std::_Tree<std::_Tset_traits<std::string,std::less<std::string>,std::allocator<std::string>,false>>::iterator
1>        ]
1>        while trying to match the argument list '(std::_Tree<_Traits>::iterator)'
1>        with
1>        [
1>            _Traits=std::_Tset_traits<std::string,std::less<std::string>,std::allocator<std::string>,false>
1>        ]
1>c:\users\jeffm\desktop\foreachtest\foreachtest\foreachtest.cpp(15) : error C2955: 'msvc_typeof_impl::msvc_extract_type' : use of class template requires template argument list
1>        c:\users\jeffm\desktop\foreachtest\foreachtest\typeof.h(54) : see declaration of 'msvc_typeof_impl::msvc_extract_type'
1>c:\users\jeffm\desktop\foreachtest\foreachtest\foreachtest.cpp(15) : error C2146: syntax error : missing ';' before identifier 'it_NEXT'
1>c:\users\jeffm\desktop\foreachtest\foreachtest\foreachtest.cpp(15) : error C2065: 'it_NEXT' : undeclared identifier
1>c:\users\jeffm\desktop\foreachtest\foreachtest\foreachtest.cpp(15) : error C2065: 'it' : undeclared identifier
1>c:\users\jeffm\desktop\foreachtest\foreachtest\foreachtest.cpp(15) : error C2065: 'it' : undeclared identifier
1>c:\users\jeffm\desktop\foreachtest\foreachtest\foreachtest.cpp(15) : error C2065: 'it_NEXT' : undeclared identifier
1>c:\users\jeffm\desktop\foreachtest\foreachtest\foreachtest.cpp(15) : error C2065: 'it' : undeclared identifier
1>c:\users\jeffm\desktop\foreachtest\foreachtest\foreachtest.cpp(15) : error C2146: syntax error : missing ')' before identifier 'it'
1>c:\users\jeffm\desktop\foreachtest\foreachtest\foreachtest.cpp(15) : error C2059: syntax error : ';'
1>c:\users\jeffm\desktop\foreachtest\foreachtest\foreachtest.cpp(15) : error C2065: 'it' : undeclared identifier
1>c:\users\jeffm\desktop\foreachtest\foreachtest\foreachtest.cpp(15) : error C2065: 'it_NEXT' : undeclared identifier
1>c:\users\jeffm\desktop\foreachtest\foreachtest\foreachtest.cpp(15) : error C2059: syntax error : ')'
1>c:\users\jeffm\desktop\foreachtest\foreachtest\foreachtest.cpp(15) : error C2143: syntax error : missing ';' before '{'
1>c:\users\jeffm\desktop\foreachtest\foreachtest\foreachtest.cpp(16) : error C2065: 'it' : undeclared identifier
1>c:\users\jeffm\desktop\foreachtest\foreachtest\foreachtest.cpp(16) : error C2227: left of '->c_str' must point to class/struct/union/generic type
1>        type is ''unknown-type''
1>Build log was saved at "file://c:\Users\JeffM\Desktop\foreachtest\foreachtest\Debug\BuildLog.htm"
1>foreachtest - 16 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========