Re: [Boost-bugs] [Boost C++ Libraries] #6131: #define foreach BOOST_FOREACH causes weird compile error in certain circumstances with boost 1.48

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6131: #define foreach BOOST_FOREACH causes weird compile error in certain circumstances with boost 1.48
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-18 01:32:27


#6131: #define foreach BOOST_FOREACH causes weird compile error in certain
circumstances with boost 1.48
-------------------------------+--------------------------------------------
  Reporter: loonycyborg | Owner: eric_niebler
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: foreach
   Version: Boost 1.48.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by Michel Morin <mimomorin@…>):

> before certain other boost headers.

 Specifically, those Boost headers are
 * `boost/multi_index/hashed_index.hpp`
 * `boost/multi_index/ordered_index.hpp`
 * `boost/multi_index/random_access_index.hpp`
 * `boost/multi_index/sequenced_index.hpp`
 and headers that eventually include them, right?

 Here are related threads in Boost-users ML:
 * [[http://thread.gmane.org/gmane.comp.lib.boost.user/71393|[multi-index]
 foreach supports breaks compilation]]
 * [[http://thread.gmane.org/gmane.comp.lib.boost.user/71410|[foreach]
 #define foreach BOOST_FOREACH]]

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6131#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:07 UTC