Boost C++ Libraries: Ticket #4219: Boost on MSVC 10 https://svn.boost.org/trac10/ticket/4219 <p> .\boost/property_tree/detail/ptree_implementation.hpp(30) : error C2440: 'specialization' : cannot convert from 'const std::string std::_Pair_base&lt;_Ty 1,_Ty2&gt;::* ' to 'const std::basic_string&lt;_Elem,_Traits,_Ax&gt; std::pair&lt;_Ty1,_Ty2&gt;::* ' </p> <blockquote> <p> with [ </p> <blockquote> <p> _Ty1=const std::string, _Ty2=boost::property_tree::basic_ptree&lt;std::string,std::string&gt; </p> </blockquote> <p> ] and [ </p> <blockquote> <p> _Elem=char, _Traits=std::char_traits&lt;char&gt;, _Ax=std::allocator&lt;char&gt;, _Ty1=const std::string, _Ty2=boost::property_tree::basic_ptree&lt;std::string,std::string&gt; </p> </blockquote> <p> ] Standard conversion from pointer-to-member of base to pointer-to-member of derived is not applied for template arguments .\boost/property_tree/detail/ptree_implementation.hpp(78) : see reference to class template instantiation 'boost::property_tree::basic_ptree&lt;K </p> </blockquote> <p> ey,Data&gt;::subs' being compiled </p> <blockquote> <p> with [ </p> <blockquote> <p> Key=std::string, Data=std::string </p> </blockquote> <p> ] .\boost/foreach.hpp(265) : see reference to class template instantiation 'boost::property_tree::basic_ptree&lt;Key,Data&gt;::const_iterator' being c </p> </blockquote> <p> ompiled </p> <blockquote> <p> with [ </p> <blockquote> <p> Key=std::string, Data=std::string </p> </blockquote> <p> ] libs\graph\src\graphml.cpp(37) : see reference to class template instantiation 'boost::foreach_detail_::auto_any&lt;T&gt;' being compiled with [ </p> <blockquote> <p> T=boost::property_tree::basic_ptree&lt;std::string,std::string&gt;::const_iterator </p> </blockquote> <p> ] </p> </blockquote> <blockquote> <p> call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86 &gt;nul </p> </blockquote> <p> cl /Zm800 -nologo @"bin.v2\libs\graph\build\msvc-10.0\release\link-static\threading-multi\graphml.obj.rsp" </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4219 Trac 1.4.3 Sebastian Redl Fri, 14 May 2010 17:01:51 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4219#comment:1 https://svn.boost.org/trac10/ticket/4219#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">duplicate</span> </li> </ul> <p> Dupe, fixed on trunk. </p> Ticket