From 6eedec544fbfc729f14370e5c8b6e3fcd1cad8e1 Mon Sep 17 00:00:00 2001 From: Paul Mensonides Date: Wed, 10 Jul 2002 06:28:31 +0000 Subject: [PATCH] fixed undefined behavior [SVN r14386] --- include/boost/preprocessor/slot.hpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/boost/preprocessor/slot.hpp b/include/boost/preprocessor/slot.hpp index e0ef01f..8e3482e 100644 --- a/include/boost/preprocessor/slot.hpp +++ b/include/boost/preprocessor/slot.hpp @@ -16,7 +16,13 @@ # # define BOOST_PP_SLOT_LIMIT 5 # -# define BOOST_PP_ASSIGN_SLOT(i) BOOST_PP_DETAIL_CAT4() +# define BOOST_PP_ASSIGN_SLOT(i) BOOST_PP_DETAIL_CAT2(BOOST_PP_ASSIGN_SLOT_, i) +# define BOOST_PP_ASSIGN_SLOT_1 +# define BOOST_PP_ASSIGN_SLOT_2 +# define BOOST_PP_ASSIGN_SLOT_3 +# define BOOST_PP_ASSIGN_SLOT_4 +# define BOOST_PP_ASSIGN_SLOT_5 +# # define BOOST_PP_SLOT(i) BOOST_PP_DETAIL_CAT2(BOOST_PP_SLOT_, i) # # endif