Files
boost_preprocessor/test/iteration.cpp

35 lines
1.3 KiB
C++
Raw Normal View History

2002-10-03 21:55:27 +00:00
# /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides 2002. Permission to copy, use, *
# * modify, sell, and distribute this software is granted provided *
# * this copyright notice appears in all copies. This software is *
# * provided "as is" without express or implied warranty, and with *
# * no claim at to its suitability for any purpose. *
# * *
# ************************************************************************** */
#
# /* See http://www.boost.org for most recent version. */
#
# if !BOOST_PP_IS_SELFISH
#
2002-11-02 20:31:30 +00:00
# include <libs/preprocessor/test/iteration.h>
2002-10-03 21:55:27 +00:00
#
# define TEST(n) BEGIN n == n END
#
# define BOOST_PP_LOCAL_MACRO(n) TEST(n)
# define BOOST_PP_LOCAL_LIMITS (1, 5)
# include BOOST_PP_LOCAL_ITERATE()
#
# define BOOST_PP_LOCAL_MACRO(n) TEST(n)
# define BOOST_PP_LOCAL_LIMITS (5, 1)
# include BOOST_PP_LOCAL_ITERATE()
#
2003-01-31 21:26:53 +00:00
# define BOOST_PP_INDIRECT_SELF <libs/preprocessor/test/iteration.cpp>
2002-10-03 21:55:27 +00:00
# include BOOST_PP_INCLUDE_SELF()
#
# else
BEGIN BOOST_PP_IS_SELFISH == 1 END
# endif