http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49021
Michel MORIN <mimomorin at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mimomorin at gmail dot com --- Comment #13 from Michel MORIN <mimomorin at gmail dot com> 2011-05-23 09:04:14 UTC --- (In reply to comment #12) > This is a bug in BOOST_FOREACH_COMPILE_TIME_CONST_RVALUE_DETECTION. This was already fixed in boost/trunk, and the fix will be released in Boost.1.47. For details, please see the following ticket: [Foreach] Compile-time const rvalue detection fails with gcc 4.6 https://svn.boost.org/trac/boost/ticket/5279