]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | #ifndef BOOST_METAPARSE_V1_FWD_STRING_HPP |
2 | #define BOOST_METAPARSE_V1_FWD_STRING_HPP | |
3 | ||
4 | // Copyright Abel Sinkovics (abel@sinkovics.hu) 2013. | |
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 | #include <boost/metaparse/config.hpp> | |
10 | #include <boost/metaparse/limit_string_size.hpp> | |
11 | #include <boost/metaparse/v1/impl/no_char.hpp> | |
12 | #include <boost/preprocessor/repetition/enum_params_with_a_default.hpp> | |
13 | ||
14 | namespace boost | |
15 | { | |
16 | namespace metaparse | |
17 | { | |
18 | namespace v1 | |
19 | { | |
20 | #ifdef BOOST_METAPARSE_VARIADIC_STRING | |
21 | template <char... Cs> | |
22 | struct string; | |
23 | #else | |
24 | template < | |
25 | BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT( | |
26 | BOOST_METAPARSE_LIMIT_STRING_SIZE, | |
27 | int C, | |
28 | BOOST_NO_CHAR | |
29 | ) | |
30 | > | |
31 | struct string; | |
32 | #endif | |
33 | } | |
34 | } | |
35 | } | |
36 | ||
37 | #endif | |
38 |