Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3457: introduce move semantics to container types
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-09-17 00:40:24
#3457: introduce move semantics to container types
------------------------------+---------------------------------------------
Reporter: guwi17 | Owner: guwi17
Type: Feature Requests | Status: new
Milestone: Boost 1.41.0 | Component: uBLAS
Version: Boost 1.40.0 | Severity: Optimization
Keywords: |
------------------------------+---------------------------------------------
Comment(by nasos_i@â¦):
Because for the bounded and c types, the move semantics don't have any
effect, I think they should be disabled for now for those types, so that
they don't promise something that they don't do.
Also in the options.htm, I would propose the description to read:
An immediate effect of this option is the elimination of the need for
noalias in types <tt>vector<T></tt> and
<tt>matrix<T></tt>, when assigned to the same type. This option
doesn't have an effect on bounded and c types. Although it is rare, not
all compilers support copy elision (that allows for move semantics), so a
test must be performed to make sure that there is a benefit when it is
enabled. A small demonstration and test can be found in
test/manual/test_move_semantics.cpp
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3457#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:01 UTC