MessagePack for C++
Toggle main menu visibility
Loading...
Searching...
No Matches
msgpack
preprocessor
facilities
is_empty_or_1.hpp
Go to the documentation of this file.
1
#
/* **************************************************************************
2
# * *
3
# * (C) Copyright Paul Mensonides 2003.
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
# ifndef MSGPACK_PREPROCESSOR_FACILITIES_IS_EMPTY_OR_1_HPP
13
# define MSGPACK_PREPROCESSOR_FACILITIES_IS_EMPTY_OR_1_HPP
14
#
15
# include <
msgpack/preprocessor/control/iif.hpp
>
16
# include <
msgpack/preprocessor/facilities/empty.hpp
>
17
# include <
msgpack/preprocessor/facilities/identity.hpp
>
18
# include <
msgpack/preprocessor/facilities/is_1.hpp
>
19
# include <
msgpack/preprocessor/facilities/is_empty.hpp
>
20
#
21
#
/* MSGPACK_PP_IS_EMPTY_OR_1 */
22
#
23
# define MSGPACK_PP_IS_EMPTY_OR_1(x) \
24
MSGPACK_PP_IIF( \
25
MSGPACK_PP_IS_EMPTY(x MSGPACK_PP_EMPTY()), \
26
MSGPACK_PP_IDENTITY(1), \
27
MSGPACK_PP_IS_1 \
28
)(x) \
29
/**/
30
#
31
# endif
empty.hpp
identity.hpp
is_empty.hpp
iif.hpp
is_1.hpp
Generated by
1.17.0