Back to home page

EIC code displayed by LXR

 
 

    


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

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_IS_ENTIRE_HPP)
0008 #define BOOST_VMD_DETAIL_IS_ENTIRE_HPP
0009 
0010 #include <boost/preprocessor/logical/bitand.hpp>
0011 #include <boost/preprocessor/tuple/elem.hpp>
0012 #include <boost/vmd/is_empty.hpp>
0013 #include <boost/vmd/detail/not_empty.hpp>
0014 
0015 #define BOOST_VMD_DETAIL_IS_ENTIRE(tuple) \
0016     BOOST_PP_BITAND \
0017         ( \
0018         BOOST_VMD_DETAIL_NOT_EMPTY(BOOST_PP_TUPLE_ELEM(0,tuple)), \
0019         BOOST_VMD_IS_EMPTY(BOOST_PP_TUPLE_ELEM(1,tuple)) \
0020         ) \
0021 /**/
0022 
0023 #endif /* BOOST_VMD_DETAIL_IS_ENTIRE_HPP */