]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/metaparse/v1/digit.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / metaparse / v1 / digit.hpp
1 #ifndef BOOST_METAPARSE_V1_DIGIT_HPP
2 #define BOOST_METAPARSE_V1_DIGIT_HPP
3
4 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2009 - 2010.
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/error/digit_expected.hpp>
10 #include <boost/metaparse/v1/accept_when.hpp>
11 #include <boost/metaparse/v1/one_char.hpp>
12 #include <boost/metaparse/v1/change_error_message.hpp>
13
14 #include <boost/metaparse/v1/util/is_digit.hpp>
15
16 namespace boost
17 {
18 namespace metaparse
19 {
20 namespace v1
21 {
22 typedef
23 accept_when<
24 change_error_message<one_char, error::digit_expected>,
25 util::is_digit<>,
26 error::digit_expected
27 >
28 digit;
29 }
30 }
31 }
32
33 #endif
34