]> AND Private Git Repository - canny.git/blob - stc/exp/ml_stc_linux_make_v1.0/include/boost/preprocessor/debug/line.hpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
ac96c2cf25fe84c2dfc4989b10c3f9859e518a3d
[canny.git] / stc / exp / ml_stc_linux_make_v1.0 / include / boost / preprocessor / debug / line.hpp
1 # /* **************************************************************************\r
2 #  *                                                                          *\r
3 #  *     (C) Copyright Paul Mensonides 2002.\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_DEBUG_LINE_HPP\r
13 # define BOOST_PREPROCESSOR_DEBUG_LINE_HPP\r
14 #\r
15 # include <boost/preprocessor/cat.hpp>\r
16 # include <boost/preprocessor/config/config.hpp>\r
17 # include <boost/preprocessor/iteration/iterate.hpp>\r
18 # include <boost/preprocessor/stringize.hpp>\r
19 #\r
20 # /* BOOST_PP_LINE */\r
21 #\r
22 # if BOOST_PP_CONFIG_EXTENDED_LINE_INFO\r
23 #    define BOOST_PP_LINE(line, file) line BOOST_PP_CAT(BOOST_PP_LINE_, BOOST_PP_IS_ITERATING)(file)\r
24 #    define BOOST_PP_LINE_BOOST_PP_IS_ITERATING(file) #file\r
25 #    define BOOST_PP_LINE_1(file) BOOST_PP_STRINGIZE(file BOOST_PP_CAT(BOOST_PP_LINE_I_, BOOST_PP_ITERATION_DEPTH())())\r
26 #    define BOOST_PP_LINE_I_1() [BOOST_PP_FRAME_ITERATION(1)]\r
27 #    define BOOST_PP_LINE_I_2() BOOST_PP_LINE_I_1()[BOOST_PP_FRAME_ITERATION(2)]\r
28 #    define BOOST_PP_LINE_I_3() BOOST_PP_LINE_I_2()[BOOST_PP_FRAME_ITERATION(3)]\r
29 #    define BOOST_PP_LINE_I_4() BOOST_PP_LINE_I_3()[BOOST_PP_FRAME_ITERATION(4)]\r
30 #    define BOOST_PP_LINE_I_5() BOOST_PP_LINE_I_4()[BOOST_PP_FRAME_ITERATION(5)]\r
31 # else\r
32 #    define BOOST_PP_LINE(line, file) line __FILE__\r
33 # endif\r
34 #\r
35 # endif\r