Re: [Boost-bugs] [Boost C++ Libraries] #3264: open config file

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3264: open config file
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-07-15 02:51:43


#3264: open config file
---------------------------------------------------------+------------------
 Reporter: Diederick C. Niehorster <dcnieho@…> | Owner: vladimir_prus
     Type: Feature Requests | Status: new
Milestone: Boost 1.40.0 | Component: program_options
  Version: Boost 1.39.0 | Severity: Optimization
 Keywords: |
---------------------------------------------------------+------------------

Comment(by Diederick C. Niehorster <dcnieho@…>):

 Sorry, that needed some formatting:

 It would be nice if it is possible to call

 {{{parse_config_file(const std::basic_string<charT>&, const
 options_description&, bool allow_unregistered = false);}}}

 also, next to

 {{{parse_config_file(std::basic_istream<charT>&, const
 options_description&, bool allow_unregistered = false);}}}

 where parse_config_file would take care of opening the file. This would
 allow for less boiler-plate on part of the user and optimizes the
 interface for parsign the config file.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3264#comment:1>
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:00 UTC