Opened 4 years ago

#13592 new Bugs

command_line_parser(int, char const*[]) throws std::bad_alloc when called with zero arguments

Reported by: kai.unger@… Owned by: Vladimir Prus
Milestone: To Be Determined Component: program_options
Version: Boost 1.67.0 Severity: Regression
Keywords: Cc:

Description

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);
}

Change History (0)

Note: See TracTickets for help on using tickets.