Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:53:37

0001 
0002 //  (C) Copyright Edward Diener 2011-2015
0003 //  Use, modification and distribution are subject to the Boost Software License,
0004 //  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
0005 //  http://www.boost.org/LICENSE_1_0.txt).
0006 
0007 #if !defined(BOOST_VMD_DETAIL_ONLY_AFTER_HPP)
0008 #define BOOST_VMD_DETAIL_ONLY_AFTER_HPP
0009 
0010 #include <boost/vmd/detail/mods.hpp>
0011 #include <boost/vmd/detail/modifiers.hpp>
0012 
0013 /*
0014 
0015     Determines whether or not the BOOST_VMD_RETURN_ONLY_AFTER modifiers has been passed
0016     as a variadic parameter.
0017     
0018     Returns 1 = BOOST_VMD_RETURN_ONLY_AFTER has been passed
0019             0 = BOOST_VMD_RETURN_ONLY_AFTER has not been passed
0020 
0021 */
0022 
0023 #define BOOST_VMD_DETAIL_ONLY_AFTER(...) \
0024     BOOST_VMD_DETAIL_MODS_IS_RESULT_ONLY_AFTER \
0025         ( \
0026         BOOST_VMD_DETAIL_NEW_MODS(BOOST_VMD_ALLOW_AFTER,__VA_ARGS__) \
0027         ) \
0028 /**/
0029 
0030 #define BOOST_VMD_DETAIL_ONLY_AFTER_D(d,...) \
0031     BOOST_VMD_DETAIL_MODS_IS_RESULT_ONLY_AFTER \
0032         ( \
0033         BOOST_VMD_DETAIL_NEW_MODS_D(d,BOOST_VMD_ALLOW_AFTER,__VA_ARGS__) \
0034         ) \
0035 /**/
0036 
0037 #endif /* BOOST_VMD_DETAIL_ONLY_AFTER_HPP */