You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code that compiles and works correctly using VS 2015 now causes a compile error with VS 2017.
Unable to find resolution or workaround.
The error is this :
boost\property_tree\detail\ptree_implementation.hpp(500): error C2440: '': cannot convert from '_Ty1' to 'boost::property_tree::basic_ptree<std::wstring,std::wstring,std::less>::assoc_iterator'
with
[
_Ty1=boost::multi_index::detail::bidir_node_iterator<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::null_augment_policy,boost::multi_index::detail::index_node_base<std::pair<const std::wstring,boost::property_tree::basic_ptree<std::wstring,std::wstring,std::lessstd::wstring>>,std::allocator<std::pair<const std::wstring,boost::property_tree::basic_ptree<std::wstring,std::wstring,std::lessstd::wstring>>>>>>
]
and
[
Key=std::wstring
]
boost\property_tree\detail\ptree_implementation.hpp(500): note: No constructor could take the source type, or constructor overload resolution was ambiguous (compiling source file BPropertyTree.cpp)
The text was updated successfully, but these errors were encountered:
I am using VS 2017 15.9.5, Boost 1.69.0.
Code that compiles and works correctly using VS 2015 now causes a compile error with VS 2017.
Unable to find resolution or workaround.
The error is this :
boost\property_tree\detail\ptree_implementation.hpp(500): error C2440: '': cannot convert from '_Ty1' to 'boost::property_tree::basic_ptree<std::wstring,std::wstring,std::less>::assoc_iterator'
with
[
_Ty1=boost::multi_index::detail::bidir_node_iterator<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::null_augment_policy,boost::multi_index::detail::index_node_base<std::pair<const std::wstring,boost::property_tree::basic_ptree<std::wstring,std::wstring,std::lessstd::wstring>>,std::allocator<std::pair<const std::wstring,boost::property_tree::basic_ptree<std::wstring,std::wstring,std::lessstd::wstring>>>>>>
]
and
[
Key=std::wstring
]
boost\property_tree\detail\ptree_implementation.hpp(500): note: No constructor could take the source type, or constructor overload resolution was ambiguous (compiling source file BPropertyTree.cpp)
The text was updated successfully, but these errors were encountered: