MessagePack for C++
Toggle main menu visibility
Loading...
Searching...
No Matches
msgpack
preprocessor
debug
line.hpp
Go to the documentation of this file.
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
# ifndef MSGPACK_PREPROCESSOR_DEBUG_LINE_HPP
13
# define MSGPACK_PREPROCESSOR_DEBUG_LINE_HPP
14
#
15
# include <
msgpack/preprocessor/cat.hpp
>
16
# include <
msgpack/preprocessor/config/config.hpp
>
17
# include <
msgpack/preprocessor/iteration/iterate.hpp
>
18
# include <
msgpack/preprocessor/stringize.hpp
>
19
#
20
#
/* MSGPACK_PP_LINE */
21
#
22
# if MSGPACK_PP_CONFIG_EXTENDED_LINE_INFO
23
# define MSGPACK_PP_LINE(line, file) line MSGPACK_PP_CAT(MSGPACK_PP_LINE_, MSGPACK_PP_IS_ITERATING)(file)
24
# define MSGPACK_PP_LINE_MSGPACK_PP_IS_ITERATING(file) #file
25
# define MSGPACK_PP_LINE_1(file) MSGPACK_PP_STRINGIZE(file MSGPACK_PP_CAT(MSGPACK_PP_LINE_I_, MSGPACK_PP_ITERATION_DEPTH())())
26
# define MSGPACK_PP_LINE_I_1() [MSGPACK_PP_FRAME_ITERATION(1)]
27
# define MSGPACK_PP_LINE_I_2() MSGPACK_PP_LINE_I_1()[MSGPACK_PP_FRAME_ITERATION(2)]
28
# define MSGPACK_PP_LINE_I_3() MSGPACK_PP_LINE_I_2()[MSGPACK_PP_FRAME_ITERATION(3)]
29
# define MSGPACK_PP_LINE_I_4() MSGPACK_PP_LINE_I_3()[MSGPACK_PP_FRAME_ITERATION(4)]
30
# define MSGPACK_PP_LINE_I_5() MSGPACK_PP_LINE_I_4()[MSGPACK_PP_FRAME_ITERATION(5)]
31
# else
32
# define MSGPACK_PP_LINE(line, file) line __FILE__
33
# endif
34
#
35
# endif
cat.hpp
config.hpp
iterate.hpp
stringize.hpp
Generated by
1.17.0