• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef BOOST_METAPARSE_TEST_STRING_MACROS_HPP
2 #define BOOST_METAPARSE_TEST_STRING_MACROS_HPP
3 
4 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2016.
5 // Distributed under the Boost Software License, Version 1.0.
6 //    (See accompanying file LICENSE_1_0.txt or copy at
7 //          http://www.boost.org/LICENSE_1_0.txt)
8 
9 #ifdef BOOST_METAPARSE_TEST_CHARS_10
10 #  error BOOST_METAPARSE_TEST_CHARS_10 already defined
11 #endif
12 #define BOOST_METAPARSE_TEST_CHARS_10 \
13   '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'
14 
15 #ifdef BOOST_METAPARSE_TEST_CHARS_100
16 #  error BOOST_METAPARSE_TEST_CHARS_100 already defined
17 #endif
18 #define BOOST_METAPARSE_TEST_CHARS_100 \
19   BOOST_METAPARSE_TEST_CHARS_10, \
20   BOOST_METAPARSE_TEST_CHARS_10, \
21   BOOST_METAPARSE_TEST_CHARS_10, \
22   BOOST_METAPARSE_TEST_CHARS_10, \
23   BOOST_METAPARSE_TEST_CHARS_10, \
24   BOOST_METAPARSE_TEST_CHARS_10, \
25   BOOST_METAPARSE_TEST_CHARS_10, \
26   BOOST_METAPARSE_TEST_CHARS_10, \
27   BOOST_METAPARSE_TEST_CHARS_10, \
28   BOOST_METAPARSE_TEST_CHARS_10
29 
30 #ifdef BOOST_METAPARSE_TEST_CHARS_1000
31 #  error BOOST_METAPARSE_TEST_CHARS_1000 already defined
32 #endif
33 #define BOOST_METAPARSE_TEST_CHARS_1000 \
34   BOOST_METAPARSE_TEST_CHARS_100, \
35   BOOST_METAPARSE_TEST_CHARS_100, \
36   BOOST_METAPARSE_TEST_CHARS_100, \
37   BOOST_METAPARSE_TEST_CHARS_100, \
38   BOOST_METAPARSE_TEST_CHARS_100, \
39   BOOST_METAPARSE_TEST_CHARS_100, \
40   BOOST_METAPARSE_TEST_CHARS_100, \
41   BOOST_METAPARSE_TEST_CHARS_100, \
42   BOOST_METAPARSE_TEST_CHARS_100, \
43   BOOST_METAPARSE_TEST_CHARS_100
44 
45 
46 #ifdef BOOST_METAPARSE_TEST_STRING_10
47 #  error BOOST_METAPARSE_TEST_STRING_10 already defined
48 #endif
49 #define BOOST_METAPARSE_TEST_STRING_10 "0123456789"
50 
51 #ifdef BOOST_METAPARSE_TEST_STRING_100
52 #  error BOOST_METAPARSE_TEST_STRING_100 already defined
53 #endif
54 #define BOOST_METAPARSE_TEST_STRING_100 \
55   BOOST_METAPARSE_TEST_STRING_10 \
56   BOOST_METAPARSE_TEST_STRING_10 \
57   BOOST_METAPARSE_TEST_STRING_10 \
58   BOOST_METAPARSE_TEST_STRING_10 \
59   BOOST_METAPARSE_TEST_STRING_10 \
60   BOOST_METAPARSE_TEST_STRING_10 \
61   BOOST_METAPARSE_TEST_STRING_10 \
62   BOOST_METAPARSE_TEST_STRING_10 \
63   BOOST_METAPARSE_TEST_STRING_10 \
64   BOOST_METAPARSE_TEST_STRING_10
65 
66 #ifdef BOOST_METAPARSE_TEST_STRING_1000
67 #  error BOOST_METAPARSE_TEST_STRING_1000 already defined
68 #endif
69 #define BOOST_METAPARSE_TEST_STRING_1000 \
70   BOOST_METAPARSE_TEST_STRING_100 \
71   BOOST_METAPARSE_TEST_STRING_100 \
72   BOOST_METAPARSE_TEST_STRING_100 \
73   BOOST_METAPARSE_TEST_STRING_100 \
74   BOOST_METAPARSE_TEST_STRING_100 \
75   BOOST_METAPARSE_TEST_STRING_100 \
76   BOOST_METAPARSE_TEST_STRING_100 \
77   BOOST_METAPARSE_TEST_STRING_100 \
78   BOOST_METAPARSE_TEST_STRING_100 \
79   BOOST_METAPARSE_TEST_STRING_100
80 
81 #endif
82 
83