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: | 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 , 7 years ago
comment:2 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This is no longer a problem in master: https://github.com/boostorg/program_options/blob/master/test/exception_txt_test.cpp
Note:
See TracTickets
for help on using tickets.
in the line of 62 of exception_txt_test.cpp store(parse_command_line(argv.size(), argv.data(), desc, style), vm);