Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5279: [Foreach] Compile-time const rvalue detection fails with gcc 4.6
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-07-21 21:51:31
#5279: [Foreach] Compile-time const rvalue detection fails with gcc 4.6
--------------------------------------+-------------------------------------
Reporter: mimomorin@⦠| Owner: eric_niebler
Type: Patches | Status: closed
Milestone: Boost 1.47.0 | Component: foreach
Version: Boost Development Trunk | Severity: Problem
Resolution: fixed | Keywords:
--------------------------------------+-------------------------------------
Comment (by pmachata@â¦):
Hi there. So for GCC 4.6, foreach will use
BOOST_FOREACH_RUN_TIME_CONST_RVALUE_DETECTION, which implies that
BOOST_FOREACH cannot be used to iterate over noncopyable collections, as
noted in the file. Is there a plan to fix this? I'm currently hitting
this case when building Wesnoth. Thanks, Petr Machata.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5279#comment:9> 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:07 UTC