Boost C++ Libraries: Ticket #12259: improved version of boost::property_tree::ini_parser, which handles comments in INI-files https://svn.boost.org/trac10/ticket/12259 <p> The original implementation of boost::property_tree::ini_parser does ignore comments when reading, therefore they are also deleted when writing back the Contents of a boost::property_tree. </p> <p> For us this behaviour was not very desirable, as we cannot comment our ini files properly then. </p> <p> Therefore I implemented an alternative Version of boost::property_tree::ini_parser that reads comments into special entries in the boost::property_tree and then uses these entries when writing an INI file to reconstruct the comments. I think the boost library (and other users) might well Profit from such functions and they can easily be provided alongside the already available functions as an alternative. </p> <p> I'm attaching my Version of the ini_parser and hope you can incorporate it into the next Releases of boost. </p> <p> Best, JAN Krieger (Deidelberger Druckmaschinen AG) </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12259 Trac 1.4.3 jan@… Thu, 09 Jun 2016 09:21:39 GMT attachment set https://svn.boost.org/trac10/ticket/12259 https://svn.boost.org/trac10/ticket/12259 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_ini_parser_with_comments.hpp</span> </li> </ul> <p> alternative implementation, as described in the ticket </p> Ticket anonymous Mon, 26 Mar 2018 13:29:11 GMT attachment set https://svn.boost.org/trac10/ticket/12259 https://svn.boost.org/trac10/ticket/12259 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">ini_parser.patch</span> </li> </ul> Ticket sab914@… Tue, 10 Jul 2018 14:49:28 GMT attachment set https://svn.boost.org/trac10/ticket/12259 https://svn.boost.org/trac10/ticket/12259 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">ini_parser.diff</span> </li> </ul> <p> refactoring </p> Ticket