]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/metaparse/v1/cpp11/impl/eval_later_result.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / metaparse / v1 / cpp11 / impl / eval_later_result.hpp
1 #ifndef BOOST_METAPARSE_V1_CPP11_IMPL_EVAL_LATER_RESULT_HPP
2 #define BOOST_METAPARSE_V1_CPP11_IMPL_EVAL_LATER_RESULT_HPP
3
4 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2017.
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/eval_if.hpp>
12 #include <boost/mpl/less.hpp>
13
14 namespace boost
15 {
16 namespace metaparse
17 {
18 namespace v1
19 {
20 namespace impl
21 {
22 template <class R1, class R2>
23 struct eval_later_result :
24 boost::mpl::eval_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