Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8360: Multiplication operator should allow non-commutative version
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-02 17:24:36
#8360: Multiplication operator should allow non-commutative version
-------------------------------------------------------+--------------------
Reporter: Jaap Eldering <eldering@â¦> | Owner: daniel_frey
Type: Bugs | Status: new
Milestone: To Be Determined | Component: operators
Version: Boost 1.53.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------------------------+--------------------
Comment (by daniel_frey):
Thanks for the report, but I think the problem is a bit larger than that.
I started working on a successor for Boost.Operators which has explicit
versions for commutative and non-commutative operators (for where is makes
sense). This library also takes advantage of rvalue references, thus
eliminating superfluous temporaries. If your compiler has support for
rvalue references and this would be an option for you, have a look at
https://github.com/d-frey/operators/. With rvalue references, there are
additional optimization opportunities if the operator in question is
indeed commutative, so yes, that property just got a priority bump.
Any feedback on the library is welcome. I'll also post an announcement of
this library on the Boost list shortly, with any luck (and probably some
more work), I hope that this can become the base for Boost.Operators v2.
If this is not a viable solution for you, please let me know.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8360#comment:1> 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:12 UTC