[Boost-bugs] [Boost C++ Libraries] #8134: Compiler error using boost::foreach with boost::bimap

Subject: [Boost-bugs] [Boost C++ Libraries] #8134: Compiler error using boost::foreach with boost::bimap
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-21 05:39:29


#8134: Compiler error using boost::foreach with boost::bimap
--------------------------------------+-------------------------------------
 Reporter: john.x.foster@… | Owner: matias
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: bimap
  Version: Boost 1.52.0 | Severity: Showstopper
 Keywords: |
--------------------------------------+-------------------------------------
 boost_1_52_0\boost\multi_index\ordered_index.hpp(1399) : error C3083:
 'BOOST_FOREACH': the symbol to the left of a '::' must be a type
 boost_1_52_0\boost\multi_index\ordered_index.hpp(1399) : error C2039:
 'tag' : is not a member of 'boost'
 boost_1_52_0\boost\multi_index\ordered_index.hpp(1399) : error C2061:
 syntax error : identifier 'tag'

 This occurs when using boost::bimap and boost::foreach. Seen first in
 1.52, also in 1.53. OK in 1.49, with Visual tudio 2008 and 2010

 Very simple VS2008 project included. Need to set environment variable
 BOOST_DIR to the boost directory, or change the project settings
 explicitly.

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