Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1045: [multi_array] Need a proper swap operation
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-05-14 21:05:26
#1045: [multi_array] Need a proper swap operation
---------------------------------------------+------------------------------
Reporter: Marcus Lindblom <macke_at_[hidden]> | Owner: garcia
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: multi_array
Version: Boost 1.34.0 | Severity: Optimization
Resolution: | Keywords:
---------------------------------------------+------------------------------
Comment(by Chris Kieschnick <wildjokerman_at_[hidden]>):
I too would benefit from this feature as I have a large boost::multi_array
(elements number in the millions or hundreds of thousands) in a thread
which I am handing off to another thread before the initial thread dies.
(This thread is merely an algorithm and it must post its result to a queue
which maintains result output in the same order that each algorithm thread
was started). I don't think it should be necessary that I use
boost::shared_ptrs for a structure with such a small local footprint (some
pointers and other information I presume). For now I do a copy until I
can get around to refactoring to add a shared_ptr.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/1045#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:00 UTC