[Boost-bugs] [Boost C++ Libraries] #11943: std::vector does not have a member data() in c++03 mode

Subject: [Boost-bugs] [Boost C++ Libraries] #11943: std::vector does not have a member data() in c++03 mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-01-27 20:20:25


#11943: std::vector does not have a member data() in c++03 mode
------------------------------+-----------------------------
 Reporter: angela.xie@… | Owner: vladimir_prus
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: program_options
  Version: Boost 1.60.0 | Severity: Problem
 Keywords: |
------------------------------+-----------------------------
 Problem:program_options/exception_txt_test[_dll] fails in c++03 mode with
 Oracle studio 12.5 due to std::vector not having a member data() in c++03
 mode.

 in program_options/test/exception_txt_test.cpp
 in line of 50:
 50: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)

 ...
 in line 62:
 62: store(parse_command_line(argv.size(), argv.data(), desc,
 style), vm);

 According to definition of std::vector, member function
  data
 (C++11)
         direct access to the underlying array
 (public member function)

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11943>
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:50:19 UTC