[Boost-bugs] [Boost C++ Libraries] #13592: command_line_parser(int, char const*[]) throws std::bad_alloc when called with zero arguments

Subject: [Boost-bugs] [Boost C++ Libraries] #13592: command_line_parser(int, char const*[]) throws std::bad_alloc when called with zero arguments
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-06-12 09:58:32


#13592: command_line_parser(int, char const*[]) throws std::bad_alloc when called
with zero arguments
------------------------------+-----------------------------
 Reporter: kai.unger@… | Owner: Vladimir Prus
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: program_options
  Version: Boost 1.67.0 | Severity: Regression
 Keywords: |
------------------------------+-----------------------------
 boost::program_options::command_line_parser(int, char const*[]) throws
 std::bad_alloc when called with zero arguments.

 Code to reproduce:

 {{{
 #include <boost/program_options.hpp>

 int main(int, char const*[])
 {
     boost::program_options::command_line_parser fParser(0, nullptr);
 }
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13592>
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 : 2018-06-12 10:03:45 UTC