[Boost-bugs] [Boost C++ Libraries] #4219: Boost on MSVC 10

Subject: [Boost-bugs] [Boost C++ Libraries] #4219: Boost on MSVC 10
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-05-14 16:33:48


#4219: Boost on MSVC 10
--------------------------+-------------------------------------------------
 Reporter: anonymous | Owner:
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: None
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: |
--------------------------+-------------------------------------------------
 .\boost/property_tree/detail/ptree_implementation.hpp(30) : error C2440:
 'specialization' : cannot convert from 'const std::string
 std::_Pair_base<_Ty
 1,_Ty2>::* ' to 'const std::basic_string<_Elem,_Traits,_Ax>
 std::pair<_Ty1,_Ty2>::* '
         with
         [
             _Ty1=const std::string,
 _Ty2=boost::property_tree::basic_ptree<std::string,std::string>
         ]
         and
         [
             _Elem=char,
             _Traits=std::char_traits<char>,
             _Ax=std::allocator<char>,
             _Ty1=const std::string,
 _Ty2=boost::property_tree::basic_ptree<std::string,std::string>
         ]
         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<K
 ey,Data>::subs' being compiled
         with
         [
             Key=std::string,
             Data=std::string
         ]
         .\boost/foreach.hpp(265) : see reference to class template
 instantiation
 'boost::property_tree::basic_ptree<Key,Data>::const_iterator' being c
 ompiled
         with
         [
             Key=std::string,
             Data=std::string
         ]
         libs\graph\src\graphml.cpp(37) : see reference to class template
 instantiation 'boost::foreach_detail_::auto_any<T>' being compiled
         with
         [
 T=boost::property_tree::basic_ptree<std::string,std::string>::const_iterator
         ]

     call "C:\Program Files (x86)\Microsoft Visual Studio
 10.0\VC\vcvarsall.bat" x86 >nul
 cl /Zm800 -nologo @"bin.v2\libs\graph\build\msvc-10.0\release\link-static
 \threading-multi\graphml.obj.rsp"

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4219>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC