]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | #ifndef BOOST_METAPARSE_V1_INT__HPP |
2 | #define BOOST_METAPARSE_V1_INT__HPP | |
3 | ||
4 | // Copyright Abel Sinkovics (abel@sinkovics.hu) 2011. | |
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/v1/digit_val.hpp> | |
10 | #include <boost/metaparse/v1/foldl1.hpp> | |
11 | #include <boost/metaparse/v1/impl/next_digit.hpp> | |
12 | ||
13 | namespace boost | |
14 | { | |
15 | namespace metaparse | |
16 | { | |
17 | namespace v1 | |
18 | { | |
19 | typedef foldl1<digit_val, boost::mpl::int_<0>, impl::next_digit> int_; | |
20 | } | |
21 | } | |
22 | } | |
23 | ||
24 | #endif | |
25 |