diff options
Diffstat (limited to 'src/boost/libs/metaparse/test/string_macros.hpp')
-rw-r--r-- | src/boost/libs/metaparse/test/string_macros.hpp | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/src/boost/libs/metaparse/test/string_macros.hpp b/src/boost/libs/metaparse/test/string_macros.hpp new file mode 100644 index 00000000..5f0926f3 --- /dev/null +++ b/src/boost/libs/metaparse/test/string_macros.hpp @@ -0,0 +1,82 @@ +#ifndef BOOST_METAPARSE_TEST_STRING_MACROS_HPP +#define BOOST_METAPARSE_TEST_STRING_MACROS_HPP + +// Copyright Abel Sinkovics (abel@sinkovics.hu) 2016. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifdef BOOST_METAPARSE_TEST_CHARS_10 +# error BOOST_METAPARSE_TEST_CHARS_10 already defined +#endif +#define BOOST_METAPARSE_TEST_CHARS_10 \ + '0', '1', '2', '3', '4', '5', '6', '7', '8', '9' + +#ifdef BOOST_METAPARSE_TEST_CHARS_100 +# error BOOST_METAPARSE_TEST_CHARS_100 already defined +#endif +#define BOOST_METAPARSE_TEST_CHARS_100 \ + BOOST_METAPARSE_TEST_CHARS_10, \ + BOOST_METAPARSE_TEST_CHARS_10, \ + BOOST_METAPARSE_TEST_CHARS_10, \ + BOOST_METAPARSE_TEST_CHARS_10, \ + BOOST_METAPARSE_TEST_CHARS_10, \ + BOOST_METAPARSE_TEST_CHARS_10, \ + BOOST_METAPARSE_TEST_CHARS_10, \ + BOOST_METAPARSE_TEST_CHARS_10, \ + BOOST_METAPARSE_TEST_CHARS_10, \ + BOOST_METAPARSE_TEST_CHARS_10 + +#ifdef BOOST_METAPARSE_TEST_CHARS_1000 +# error BOOST_METAPARSE_TEST_CHARS_1000 already defined +#endif +#define BOOST_METAPARSE_TEST_CHARS_1000 \ + BOOST_METAPARSE_TEST_CHARS_100, \ + BOOST_METAPARSE_TEST_CHARS_100, \ + BOOST_METAPARSE_TEST_CHARS_100, \ + BOOST_METAPARSE_TEST_CHARS_100, \ + BOOST_METAPARSE_TEST_CHARS_100, \ + BOOST_METAPARSE_TEST_CHARS_100, \ + BOOST_METAPARSE_TEST_CHARS_100, \ + BOOST_METAPARSE_TEST_CHARS_100, \ + BOOST_METAPARSE_TEST_CHARS_100, \ + BOOST_METAPARSE_TEST_CHARS_100 + + +#ifdef BOOST_METAPARSE_TEST_STRING_10 +# error BOOST_METAPARSE_TEST_STRING_10 already defined +#endif +#define BOOST_METAPARSE_TEST_STRING_10 "0123456789" + +#ifdef BOOST_METAPARSE_TEST_STRING_100 +# error BOOST_METAPARSE_TEST_STRING_100 already defined +#endif +#define BOOST_METAPARSE_TEST_STRING_100 \ + BOOST_METAPARSE_TEST_STRING_10 \ + BOOST_METAPARSE_TEST_STRING_10 \ + BOOST_METAPARSE_TEST_STRING_10 \ + BOOST_METAPARSE_TEST_STRING_10 \ + BOOST_METAPARSE_TEST_STRING_10 \ + BOOST_METAPARSE_TEST_STRING_10 \ + BOOST_METAPARSE_TEST_STRING_10 \ + BOOST_METAPARSE_TEST_STRING_10 \ + BOOST_METAPARSE_TEST_STRING_10 \ + BOOST_METAPARSE_TEST_STRING_10 + +#ifdef BOOST_METAPARSE_TEST_STRING_1000 +# error BOOST_METAPARSE_TEST_STRING_1000 already defined +#endif +#define BOOST_METAPARSE_TEST_STRING_1000 \ + BOOST_METAPARSE_TEST_STRING_100 \ + BOOST_METAPARSE_TEST_STRING_100 \ + BOOST_METAPARSE_TEST_STRING_100 \ + BOOST_METAPARSE_TEST_STRING_100 \ + BOOST_METAPARSE_TEST_STRING_100 \ + BOOST_METAPARSE_TEST_STRING_100 \ + BOOST_METAPARSE_TEST_STRING_100 \ + BOOST_METAPARSE_TEST_STRING_100 \ + BOOST_METAPARSE_TEST_STRING_100 \ + BOOST_METAPARSE_TEST_STRING_100 + +#endif + |