Opened 7 years ago

Closed 7 years ago

#11642 closed Bugs (fixed)

std::vector does not have a member data() in c++03

Reported by: angela.xie@… Owned by: Vladimir Prus
Milestone: To Be Determined Component: program_options
Version: Boost 1.58.0 Severity: Problem
Keywords: Cc:

Description

Problem:program_options/exception_txt_test fails to compile due to using non-standard vector::data in c++03 mode.

in the line 50 of exception_txt_test.cpp: void test_each_exception_message(const string& test_description, const vector<const char*>& argv, options_description& desc, int style, string exception_msg, istream& is = cin) ...

Change History (2)

comment:1 by anonymous, 7 years ago

in the line of 62 of exception_txt_test.cpp store(parse_command_line(argv.size(), argv.data(), desc, style), vm);

comment:2 by Vladimir Prus, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.