1>------ Build started: Project: foreachtest, Configuration: Debug Win32 ------
1> foreachtest.cpp
1>c:\users\jeffm\desktop\foreachtest - copy\foreachtest\foreachtest.cpp(15): error C2678: binary '=' : no operator found which takes a left-hand operand of type 'msvc_typeof_impl::msvc_extract_type<ID,T>::id2type_impl<true>::type' (or there is no acceptable conversion)
1> with
1> [
1> ID=3,
1> T=msvc_typeof_impl::msvc_extract_type_default_param
1> ]
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\xtree(337): could be 'std::_Tree_const_iterator<_Mytree> &std::_Tree_const_iterator<_Mytree>::operator =(const std::_Tree_const_iterator<_Mytree> &)'
1> with
1> [
1> _Mytree=std::_Tree_val<std::_Tset_traits<std::string,std::less<std::string>,std::allocator<std::string>,false>>
1> ]
1> while trying to match the argument list '(msvc_typeof_impl::msvc_extract_type<ID,T>::id2type_impl<true>::type, msvc_typeof_impl::msvc_extract_type<ID,T>::id2type_impl<true>::type)'
1> with
1> [
1> ID=3,
1> T=msvc_typeof_impl::msvc_extract_type_default_param
1> ]
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========