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).
7 #if !defined(BOOST_VMD_DETAIL_IS_ENTIRE_HPP)
8 #define BOOST_VMD_DETAIL_IS_ENTIRE_HPP
10 #include <boost/preprocessor/logical/bitand.hpp>
11 #include <boost/preprocessor/tuple/elem.hpp>
12 #include <boost/vmd/is_empty.hpp>
13 #include <boost/vmd/detail/not_empty.hpp>
15 #define BOOST_VMD_DETAIL_IS_ENTIRE(tuple) \
18 BOOST_VMD_DETAIL_NOT_EMPTY(BOOST_PP_TUPLE_ELEM(0,tuple)), \
19 BOOST_VMD_IS_EMPTY(BOOST_PP_TUPLE_ELEM(1,tuple)) \
23 #endif /* BOOST_VMD_DETAIL_IS_ENTIRE_HPP */