Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r69601 - trunk/boost/mpl
From: joel.falcou_at_[hidden]
Date: 2011-03-06 06:09:15


Author: jfalcou
Date: 2011-03-06 06:09:13 EST (Sun, 06 Mar 2011)
New Revision: 69601
URL: http://svn.boost.org/trac/boost/changeset/69601

Log:
Fully qualified mpl::for_each call to prevent conflict with phoenix::for_each on
some compiler.

Text files modified:
   trunk/boost/mpl/for_each.hpp | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: trunk/boost/mpl/for_each.hpp
==============================================================================
--- trunk/boost/mpl/for_each.hpp (original)
+++ trunk/boost/mpl/for_each.hpp 2011-03-06 06:09:13 EST (Sun, 06 Mar 2011)
@@ -108,7 +108,9 @@
 inline
 void for_each(F f, Sequence* = 0)
 {
- for_each<Sequence, identity<> >(f);
+ // jfalcou: fully qualifying this call so it doesnt clash with phoenix::for_each
+ // ons ome compilers -- done on 02/28/2011
+ boost::mpl::for_each<Sequence, identity<> >(f);
 }
 
 }}


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk