Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9328: Error initializing a boost:container's allocator with a reference.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-31 11:59:39
#9328: Error initializing a boost:container's allocator with a reference.
--------------------------+------------------------------------------------
Reporter: jbell@⦠| Owner: igaztanaga
Type: Bugs | Status: closed
Milestone: To Be | Component: container
Determined | Severity: Problem
Version: Boost | Keywords: container scoped_allocator_adaptor
1.54.0 |
Resolution: wontfix |
--------------------------+------------------------------------------------
Changes (by igaztanaga):
* status: new => closed
* resolution: => wontfix
Comment:
It's a limitation of Boost.Move. It only accepts const references or
rvalue references for constructor forwarding. Otherwise it would need
thousands of overloads for a dozen of arguments. It's a pain but
supporting move semantics also for allocator was considered more important
than this annoyance.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9328#comment:2> 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:14 UTC