]> git.lyx.org Git - lyx.git/blob - boost/boost/preprocessor/facilities/is_empty_or_1.hpp
MathML for InsetMathBoldSymbol.
[lyx.git] / boost / boost / preprocessor / facilities / is_empty_or_1.hpp
1 # /* **************************************************************************\r
2 #  *                                                                          *\r
3 #  *     (C) Copyright Paul Mensonides 2003.\r
4 #  *     Distributed under the Boost Software License, Version 1.0. (See\r
5 #  *     accompanying file LICENSE_1_0.txt or copy at\r
6 #  *     http://www.boost.org/LICENSE_1_0.txt)\r
7 #  *                                                                          *\r
8 #  ************************************************************************** */\r
9 #\r
10 # /* See http://www.boost.org for most recent version. */\r
11 #\r
12 # ifndef BOOST_PREPROCESSOR_FACILITIES_IS_EMPTY_OR_1_HPP\r
13 # define BOOST_PREPROCESSOR_FACILITIES_IS_EMPTY_OR_1_HPP\r
14 #\r
15 # include <boost/preprocessor/control/iif.hpp>\r
16 # include <boost/preprocessor/facilities/empty.hpp>\r
17 # include <boost/preprocessor/facilities/is_1.hpp>\r
18 # include <boost/preprocessor/facilities/is_empty.hpp>\r
19 #\r
20 # /* BOOST_PP_IS_EMPTY_OR_1 */\r
21 #\r
22 # define BOOST_PP_IS_EMPTY_OR_1(x) \\r
23     BOOST_PP_IIF( \\r
24         BOOST_PP_IS_EMPTY(x BOOST_PP_EMPTY()), \\r
25         1 BOOST_PP_EMPTY, \\r
26         BOOST_PP_IS_1 \\r
27     )(x) \\r
28     /**/\r
29 #\r
30 # endif\r