]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/metaparse/include/boost/metaparse/v1/impl/next_digit.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / metaparse / include / boost / metaparse / v1 / impl / next_digit.hpp
CommitLineData
7c673cae
FG
1#ifndef BOOST_METAPARSE_V1_IMPL_NEXT_DIGIT_HPP
2#define BOOST_METAPARSE_V1_IMPL_NEXT_DIGIT_HPP
3
4// Copyright Abel Sinkovics (abel@sinkovics.hu) 2015.
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/mpl/int.hpp>
10
11namespace boost
12{
13 namespace metaparse
14 {
15 namespace v1
16 {
17 namespace impl
18 {
19 struct next_digit
20 {
21 typedef next_digit type;
22
23 template <class PartialResult, class NextDigit>
24 struct apply :
25 boost::mpl::int_<
26 PartialResult::type::value * 10 + NextDigit::type::value
27 >
28 {};
29 };
30 }
31 }
32 }
33}
34
35#endif
36