Boost logo

Boost Users :

Subject: [Boost-users] [foreach] Changes in Boost 1.47 beaking const rvalue detection for some compilers?
From: Joaquin M Lopez Munoz (joaquin_at_[hidden])
Date: 2011-07-31 14:04:45


Hi,

According to the discussion at

http://lists.boost.org/boost-users/2011/07/69718.php

seems like for some non-copyable sequence types, such
as indices of Boost.MultiIndex, Boost.Foreach has stopped
in GCC 4.6.1 with Boost 1.47 (and did not work in clang++ 2.9
either for Boost 1.46 or Boost 1.47.)

Before I apply the boost::foreach::is_noncopyable hack,
can the author take a look at this? Release notes for
Boost 1.47 indicate that const rvalue detection has
been modified in Boost.Foreach, so I wonder whether this
situation is something that should be fixed in
Boost.Foreach rather than user code.

Thank you,

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net