Re: [Boost-bugs] [Boost C++ Libraries] #1045: [multi_array] Need a proper swap operation

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1045: [multi_array] Need a proper swap operation
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-12-01 00:00:50

#1045: [multi_array] Need a proper swap operation
 Reporter: Marcus Lindblom <macke@…> | Owner: garcia
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: multi_array
  Version: Boost 1.34.0 | Severity: Optimization
 Keywords: |

Comment(by Rhys Ulerich <rhys.ulerich@…>):

 Attached is a patch against 1.41 providing multi_array_ref::swap and
 multi_array::swap, overloads for boost::swap, some unit tests and a couple
 of very minor documentation updates. Tests pass against gcc 4.2.4.

 Sorry for not working from trunk; the resize tests were broken there. The
 patch rewrites a small portion of resize in terms of the new
 multi_array::swap operation and I wanted the resize test cases to run
 against that change.

Ticket URL: <>
Boost C++ Libraries <>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC