Update of /cvsroot/boost/boost/boost/fusion/sequence/generation
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14168
Modified Files:
map_tie.hpp
Log Message:
using the correct PP constant for map_tie
Index: map_tie.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/fusion/sequence/generation/map_tie.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- map_tie.hpp 2 Mar 2007 10:44:11 -0000 1.2
+++ map_tie.hpp 22 Mar 2007 22:45:27 -0000 1.3
@@ -14,6 +14,7 @@
#include <boost/preprocessor/repetition/enum_binary_params.hpp>
#include <boost/preprocessor/repetition/enum_params_with_a_default.hpp>
#include <boost/fusion/sequence/container/map/map.hpp>
+#include <boost/fusion/sequence/container/map/limits.hpp>
#include <boost/fusion/support/pair.hpp>
#include <boost/fusion/sequence/generation/pair_tie.hpp>
#include <boost/type_traits/add_reference.hpp>
@@ -26,9 +27,9 @@
{
template <
BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(
- FUSION_MAX_VECTOR_SIZE, typename K, void_)
+ FUSION_MAX_MAP_SIZE, typename K, void_)
, BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(
- FUSION_MAX_VECTOR_SIZE, typename D, void_)
+ FUSION_MAX_MAP_SIZE, typename D, void_)
, typename Extra = void_
>
struct map_tie;
@@ -55,7 +56,7 @@
fusion::pair_tie<BOOST_PP_CAT(K, n)>(BOOST_PP_CAT(_, n))
\
#define BOOST_PP_FILENAME_1 <boost/fusion/sequence/generation/map_tie.hpp>
-#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_VECTOR_SIZE)
+#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_MAP_SIZE)
#include BOOST_PP_ITERATE()
#undef BOOST_FUSION_PAIR
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs