Re: [Boost-bugs] [Boost C++ Libraries] #1113: shared_array<T> should convert to shared_array<T const>

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1113: shared_array<T> should convert to shared_array<T const>
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-03 05:02:59


#1113: shared_array<T> should convert to shared_array<T const>
-------------------------------+--------------------------------------------
  Reporter: pdimov | Owner: pdimov
      Type: Feature Requests | Status: assigned
 Milestone: To Be Determined | Component: smart_ptr
   Version: | Severity: Regression
Resolution: | Keywords:
-------------------------------+--------------------------------------------
Changes (by Felix):

  * severity: Problem => Regression

Comment:

 Replying to [ticket:1113 pdimov]:
> http://lists.boost.org/boost-users/2007/05/28330.php

 Without the const correctness of the shared_array it is not as viable as
 it could be for many applications.
 For example if a member function has "shared_array<const T>" as an
 argument in order to guarantee that the array of T will not be modified,
 then if one has a non const shared_array he cannot use this function
 without some possibly unportable/unsafe workaround.

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