Subject: [Boost-bugs] [Boost C++ Libraries] #4588: use ::_1 and ::_2 instead of _1 and _2 in <boost/multi_index/sequenced_index.hpp>
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-08-24 10:07:52
#4588: use ::_1 and ::_2 instead of _1 and _2 in
<boost/multi_index/sequenced_index.hpp>
-------------------------------+--------------------------------------------
Reporter: richi@⦠| Owner: joaquin
Type: Bugs | Status: new
Milestone: To Be Determined | Component: multi_index
Version: Boost 1.43.0 | Severity: Problem
Keywords: |
-------------------------------+--------------------------------------------
If <boost/lambda/bind.hpp> happens to get included before
<boost/multi_index/sequenced_index.hpp>, the compiler is complaining :
"ambiguous symbol _1"
This can easily be fixed by adding the global namespace qualifier ::_1 in
<boost/multi_index/sequenced_index.hpp> line 697 (boost 1.43) as it is
correctly done on the same line with ::boost::bind(...
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4588> 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:04 UTC