Subject: [Boost-bugs] [Boost C++ Libraries] #12341: Enhancement for multi_array resize
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-07-21 18:48:30
#12341: Enhancement for multi_array resize
------------------------------+-------------------------
Reporter: eugvor@⦠| Owner: garcia
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: multi_array
Version: Boost 1.61.0 | Severity: Problem
Keywords: |
------------------------------+-------------------------
Multi_array can have index_bases, it's really great, but resize only works
for growing to the higher indexes. Would be nice to put a bit more code to
resize it to the lower indexes as well, just add offset during a copy view
to transfer data into a new array inside of the resize method. I've made
an implementation outside of boost as a separate method. But it simple
enough to add this resize downwards as well as upwards into the boost
multi_array::resize implementation.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12341> 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:20 UTC