]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/vmd/detail/only_after.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / vmd / detail / only_after.hpp
1
2 // (C) Copyright Edward Diener 2011-2015
3 // Use, modification and distribution are subject to the Boost Software License,
4 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt).
6
7 #if !defined(BOOST_VMD_DETAIL_ONLY_AFTER_HPP)
8 #define BOOST_VMD_DETAIL_ONLY_AFTER_HPP
9
10 #include <boost/vmd/detail/mods.hpp>
11 #include <boost/vmd/detail/modifiers.hpp>
12
13 /*
14
15 Determines whether or not the BOOST_VMD_RETURN_ONLY_AFTER modifiers has been passed
16 as a variadic parameter.
17
18 Returns 1 = BOOST_VMD_RETURN_ONLY_AFTER has been passed
19 0 = BOOST_VMD_RETURN_ONLY_AFTER has not been passed
20
21 */
22
23 #define BOOST_VMD_DETAIL_ONLY_AFTER(...) \
24 BOOST_VMD_DETAIL_MODS_IS_RESULT_ONLY_AFTER \
25 ( \
26 BOOST_VMD_DETAIL_NEW_MODS(BOOST_VMD_ALLOW_AFTER,__VA_ARGS__) \
27 ) \
28 /**/
29
30 #define BOOST_VMD_DETAIL_ONLY_AFTER_D(d,...) \
31 BOOST_VMD_DETAIL_MODS_IS_RESULT_ONLY_AFTER \
32 ( \
33 BOOST_VMD_DETAIL_NEW_MODS_D(d,BOOST_VMD_ALLOW_AFTER,__VA_ARGS__) \
34 ) \
35 /**/
36
37 #endif /* BOOST_VMD_DETAIL_ONLY_AFTER_HPP */