Subject: [Boost-bugs] [Boost C++ Libraries] #1809: Allow empty values in conf file
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-04-10 14:25:15
#1809: Allow empty values in conf file
----------------------------------+-----------------------------------------
Reporter: olafvdspek_at_[hidden] | Owner: vladimir_prus
Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: program_options
Version: Boost 1.34.1 | Severity: Problem
Keywords: |
----------------------------------+-----------------------------------------
Hi,
> no value given in 'mysql_password ='
Empty values should be allowed in the conf file.
> std::ifstream is(vm["conf_file"].as<std::string>().c_str());
> po::store(po::parse_config_file(is, desc), vm);
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1809>
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:49:57 UTC