id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 13565,Compilation issue with property_tree on VS2017 15.7,Pavel Pokutnev ,Sebastian Redl,"The new Visual Studio 2017 15.7 with following compiler settings: Conformance mode: Yes(/permissive-) C++ Language Standard: ISO C++17 Standard (/std:c++17) generates following error: Error C3203 'iterator': unspecialized class template can't be used as a template argument for template parameter 'Iterator', expected a real type : public boost::reverse_iterator during the compilation of the following code: std::string value = { ""[GENERAL]\n"" ""MyValue=42"" }; namespace bpt = boost::property_tree; bpt::ptree tree; try { std::istringstream input(value); bpt::read_ini(input, tree); // Parse the INI-File into the property tree. } catch (...) { } int const v = tree.get(""GENERAL.MyValue"", 0); It looks like it has something todo with the deprecation of std::iterator in C++17. In case the Conformance mode is switched to ""No"", the code compiles without any errors. It is also dependent on project configuration and include order, since my first try to create an isolated project for demonstration didn't resulted in the same error. But I didn't invest much time for it. Here is my proposal for the solution of the issue: Prefix the template parameter to make them fully qualified. Change lines 112 and 122: class basic_ptree::reverse_iterator : public boost::reverse_iterator and class basic_ptree::const_reverse_iterator : public boost::reverse_iterator to: class basic_ptree::reverse_iterator : public boost::reverse_iterator::iterator> and class basic_ptree::const_reverse_iterator : public boost::reverse_iterator::const_iterator> This resolves the issue on my side. ",Bugs,new,Boost 1.68.0,property_tree,Boost 1.67.0,Showstopper,,,