]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/metaparse/include/boost/metaparse/v1/impl/later_result.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / metaparse / include / boost / metaparse / v1 / impl / later_result.hpp
CommitLineData
7c673cae
FG
1#ifndef BOOST_METAPARSE_V1_IMPL_LATER_RESULT_HPP
2#define BOOST_METAPARSE_V1_IMPL_LATER_RESULT_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/metaparse/v1/get_position.hpp>
10
11#include <boost/mpl/if.hpp>
12#include <boost/mpl/less.hpp>
13
14namespace boost
15{
16 namespace metaparse
17 {
18 namespace v1
19 {
20 namespace impl
21 {
22 template <class R1, class R2>
23 struct later_result :
24 boost::mpl::if_<
25 typename boost::mpl::less<
26 typename get_position<R2>::type,
27 typename get_position<R1>::type
28 >::type,
29 R1,
30 R2
31 >
32 {};
33 }
34 }
35 }
36}
37
38#endif
39