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/cat.hpp> |
---|
13 | # include <boost/preprocessor/facilities.hpp> |
---|
14 | # include <libs/preprocessor/test/test.h> |
---|
15 | |
---|
16 | BEGIN BOOST_PP_APPLY(BOOST_PP_NIL) 0 == 0 END |
---|
17 | BEGIN BOOST_PP_APPLY((0)) == 0 END |
---|
18 | |
---|
19 | BEGIN BOOST_PP_APPLY((BOOST_PP_EMPTY))() 0 == 0 END |
---|
20 | |
---|
21 | # define MACRO(x, y, z) 1 |
---|
22 | # define ARGS (1, 2, 3) |
---|
23 | |
---|
24 | BEGIN BOOST_PP_EXPAND(MACRO ARGS) == 1 END |
---|
25 | |
---|
26 | BEGIN BOOST_PP_IDENTITY(1)() == 1 END |
---|
27 | |
---|
28 | BEGIN BOOST_PP_CAT(BOOST_PP_INTERCEPT, 2) 1 == 1 END |
---|
Note: See
TracBrowser
for help on using the repository browser.