Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/libs/preprocessor/test/slot.cpp @ 29

Last change on this file since 29 was 29, checked in by landauf, 16 years ago

updated boost from 1_33_1 to 1_34_1

File size: 950 bytes
Line 
1# /* **************************************************************************
2#  *                                                                          *
3#  *     (C) Copyright Paul Mensonides 2002.
4#  *     Distributed under the Boost Software License, Version 1.0. (See
5#  *     accompanying file LICENSE_1_0.txt or copy at
6#  *     http://www.boost.org/LICENSE_1_0.txt)
7#  *                                                                          *
8#  ************************************************************************** */
9#
10# /* See http://www.boost.org for most recent version. */
11#
12# include <boost/preprocessor/slot.hpp>
13# include <libs/preprocessor/test/test.h>
14
15# define X() 4
16
17# define BOOST_PP_VALUE 1 + 2 + 3 + X()
18# include BOOST_PP_ASSIGN_SLOT(1)
19
20# undef X
21
22BEGIN BOOST_PP_SLOT(1) == 10 END
23
24# define BOOST_PP_VALUE BOOST_PP_SLOT(1) * BOOST_PP_SLOT(1)
25# include BOOST_PP_ASSIGN_SLOT(1)
26
27BEGIN BOOST_PP_SLOT(1) == 100 END
Note: See TracBrowser for help on using the repository browser.