Re: [Boost-bugs] [Boost C++ Libraries] #2857: change return type of the c_array() member function

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2857: change return type of the c_array() member function
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-03-28 11:01:25


#2857: change return type of the c_array() member function
----------------------------------+-----------------------------------------
 Reporter: hervemart1@… | Owner: marshall
     Type: Patches | Status: assigned
Milestone: Boost 1.39.0 | Component: array
  Version: Boost 1.38.0 | Severity: Cosmetic
 Keywords: |
----------------------------------+-----------------------------------------

Comment(by niels_dekker):

 Replying to comment [comment:6]:
> I will keep an eye on this issue; see what the standards committee
 decides.

 Thanks, Marchall. Unfortunately the standard library issue, [http://www
 .open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3020.html#930 LWG #930,
 Access to std::array data as built-in array type], has been rejected. I do
 not entirely understand why.

 Anyway, a non-member function like {{{get_c_array(array<T,N>&)}}} (as I
 suggested here before at comment [comment:2]) would also be fine to me.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2857#comment:7>
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:02 UTC