~ubuntu-branches/ubuntu/warty/aqsis/warty

« back to all changes in this revision

Viewing changes to boost/boost/preprocessor/iteration/detail/finish.hpp

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2004-08-24 07:25:04 UTC
  • Revision ID: james.westby@ubuntu.com-20040824072504-zf993vnevvisdsvb
Tags: upstream-0.9.1
ImportĀ upstreamĀ versionĀ 0.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# /* **************************************************************************
 
2
#  *                                                                          *
 
3
#  *     (C) Copyright Paul Mensonides 2002.  Permission to copy, use,        *
 
4
#  *     modify, sell, and distribute this software is granted provided       *
 
5
#  *     this copyright notice appears in all copies.  This software is       *
 
6
#  *     provided "as is" without express or implied warranty, and with       *
 
7
#  *     no claim at to its suitability for any purpose.                      *
 
8
#  *                                                                          *
 
9
#  ************************************************************************** */
 
10
#
 
11
# /* See http://www.boost.org for most recent version. */
 
12
#
 
13
# include <boost/preprocessor/slot/detail/shared.hpp>
 
14
#
 
15
# undef BOOST_PP_LOCAL_FE
 
16
#
 
17
# undef BOOST_PP_LOCAL_FE_DIGIT_1
 
18
# undef BOOST_PP_LOCAL_FE_DIGIT_2
 
19
# undef BOOST_PP_LOCAL_FE_DIGIT_3
 
20
# undef BOOST_PP_LOCAL_FE_DIGIT_4
 
21
# undef BOOST_PP_LOCAL_FE_DIGIT_5
 
22
# undef BOOST_PP_LOCAL_FE_DIGIT_6
 
23
# undef BOOST_PP_LOCAL_FE_DIGIT_7
 
24
# undef BOOST_PP_LOCAL_FE_DIGIT_8
 
25
# undef BOOST_PP_LOCAL_FE_DIGIT_9
 
26
# undef BOOST_PP_LOCAL_FE_DIGIT_10
 
27
#
 
28
# if BOOST_PP_SLOT_TEMP_3 == 0
 
29
#    define BOOST_PP_LOCAL_FE_DIGIT_3 0
 
30
# elif BOOST_PP_SLOT_TEMP_3 == 1
 
31
#    define BOOST_PP_LOCAL_FE_DIGIT_3 1
 
32
# elif BOOST_PP_SLOT_TEMP_3 == 2
 
33
#    define BOOST_PP_LOCAL_FE_DIGIT_3 2
 
34
# elif BOOST_PP_SLOT_TEMP_3 == 3
 
35
#    define BOOST_PP_LOCAL_FE_DIGIT_3 3
 
36
# elif BOOST_PP_SLOT_TEMP_3 == 4
 
37
#    define BOOST_PP_LOCAL_FE_DIGIT_3 4
 
38
# elif BOOST_PP_SLOT_TEMP_3 == 5
 
39
#    define BOOST_PP_LOCAL_FE_DIGIT_3 5
 
40
# elif BOOST_PP_SLOT_TEMP_3 == 6
 
41
#    define BOOST_PP_LOCAL_FE_DIGIT_3 6
 
42
# elif BOOST_PP_SLOT_TEMP_3 == 7
 
43
#    define BOOST_PP_LOCAL_FE_DIGIT_3 7
 
44
# elif BOOST_PP_SLOT_TEMP_3 == 8
 
45
#    define BOOST_PP_LOCAL_FE_DIGIT_3 8
 
46
# elif BOOST_PP_SLOT_TEMP_3 == 9
 
47
#    define BOOST_PP_LOCAL_FE_DIGIT_3 9
 
48
# endif
 
49
#
 
50
# if BOOST_PP_SLOT_TEMP_2 == 0
 
51
#    define BOOST_PP_LOCAL_FE_DIGIT_2 0
 
52
# elif BOOST_PP_SLOT_TEMP_2 == 1
 
53
#    define BOOST_PP_LOCAL_FE_DIGIT_2 1
 
54
# elif BOOST_PP_SLOT_TEMP_2 == 2
 
55
#    define BOOST_PP_LOCAL_FE_DIGIT_2 2
 
56
# elif BOOST_PP_SLOT_TEMP_2 == 3
 
57
#    define BOOST_PP_LOCAL_FE_DIGIT_2 3
 
58
# elif BOOST_PP_SLOT_TEMP_2 == 4
 
59
#    define BOOST_PP_LOCAL_FE_DIGIT_2 4
 
60
# elif BOOST_PP_SLOT_TEMP_2 == 5
 
61
#    define BOOST_PP_LOCAL_FE_DIGIT_2 5
 
62
# elif BOOST_PP_SLOT_TEMP_2 == 6
 
63
#    define BOOST_PP_LOCAL_FE_DIGIT_2 6
 
64
# elif BOOST_PP_SLOT_TEMP_2 == 7
 
65
#    define BOOST_PP_LOCAL_FE_DIGIT_2 7
 
66
# elif BOOST_PP_SLOT_TEMP_2 == 8
 
67
#    define BOOST_PP_LOCAL_FE_DIGIT_2 8
 
68
# elif BOOST_PP_SLOT_TEMP_2 == 9
 
69
#    define BOOST_PP_LOCAL_FE_DIGIT_2 9
 
70
# endif
 
71
#
 
72
# if BOOST_PP_SLOT_TEMP_1 == 0
 
73
#    define BOOST_PP_LOCAL_FE_DIGIT_1 0
 
74
# elif BOOST_PP_SLOT_TEMP_1 == 1
 
75
#    define BOOST_PP_LOCAL_FE_DIGIT_1 1
 
76
# elif BOOST_PP_SLOT_TEMP_1 == 2
 
77
#    define BOOST_PP_LOCAL_FE_DIGIT_1 2
 
78
# elif BOOST_PP_SLOT_TEMP_1 == 3
 
79
#    define BOOST_PP_LOCAL_FE_DIGIT_1 3
 
80
# elif BOOST_PP_SLOT_TEMP_1 == 4
 
81
#    define BOOST_PP_LOCAL_FE_DIGIT_1 4
 
82
# elif BOOST_PP_SLOT_TEMP_1 == 5
 
83
#    define BOOST_PP_LOCAL_FE_DIGIT_1 5
 
84
# elif BOOST_PP_SLOT_TEMP_1 == 6
 
85
#    define BOOST_PP_LOCAL_FE_DIGIT_1 6
 
86
# elif BOOST_PP_SLOT_TEMP_1 == 7
 
87
#    define BOOST_PP_LOCAL_FE_DIGIT_1 7
 
88
# elif BOOST_PP_SLOT_TEMP_1 == 8
 
89
#    define BOOST_PP_LOCAL_FE_DIGIT_1 8
 
90
# elif BOOST_PP_SLOT_TEMP_1 == 9
 
91
#    define BOOST_PP_LOCAL_FE_DIGIT_1 9
 
92
# endif
 
93
#
 
94
# if BOOST_PP_LOCAL_FE_DIGIT_3
 
95
#    define BOOST_PP_LOCAL_FE() BOOST_PP_SLOT_CC_3(BOOST_PP_LOCAL_FE_DIGIT_3, BOOST_PP_LOCAL_FE_DIGIT_2, BOOST_PP_LOCAL_FE_DIGIT_1)
 
96
# elif BOOST_PP_LOCAL_FE_DIGIT_2
 
97
#    define BOOST_PP_LOCAL_FE() BOOST_PP_SLOT_CC_2(BOOST_PP_LOCAL_FE_DIGIT_2, BOOST_PP_LOCAL_FE_DIGIT_1)
 
98
# else
 
99
#    define BOOST_PP_LOCAL_FE() BOOST_PP_LOCAL_FE_DIGIT_1
 
100
# endif