Update of /cvsroot/boost/boost/boost/fusion/functional/adapter/detail
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv31163
Modified Files:
pow2_explode.hpp
Log Message:
fixes bug in unfused_generic reported by Eric Niebler
Index: pow2_explode.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/fusion/functional/adapter/detail/pow2_explode.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- pow2_explode.hpp 15 Feb 2007 22:41:45 -0000 1.1
+++ pow2_explode.hpp 22 May 2007 10:53:49 -0000 1.2
@@ -22,10 +22,11 @@
# define BOOST_PP_FILENAME_2 \
<boost/fusion/functional/adapter/detail/pow2_explode.hpp>
-# define BOOST_PP_VALUE 1 << (N >> 4)
+# define BOOST_PP_VALUE (1 << N) >> 4
# if BOOST_PP_VALUE > BOOST_PP_LIMIT_ITERATION
# error "Preprocessor limit exceeded."
# endif
+
# include BOOST_PP_ASSIGN_SLOT(2)
# define BOOST_PP_ITERATION_LIMITS (0,BOOST_PP_DEC(BOOST_PP_SLOT_2()))
# include BOOST_PP_ITERATE()
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs