]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/vmd/include/boost/vmd/detail/is_entire.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / vmd / include / boost / vmd / detail / is_entire.hpp
CommitLineData
7c673cae
FG
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_IS_ENTIRE_HPP)
8#define BOOST_VMD_DETAIL_IS_ENTIRE_HPP
9
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>
14
15#define BOOST_VMD_DETAIL_IS_ENTIRE(tuple) \
16 BOOST_PP_BITAND \
17 ( \
18 BOOST_VMD_DETAIL_NOT_EMPTY(BOOST_PP_TUPLE_ELEM(0,tuple)), \
19 BOOST_VMD_IS_EMPTY(BOOST_PP_TUPLE_ELEM(1,tuple)) \
20 ) \
21/**/
22
23#endif /* BOOST_VMD_DETAIL_IS_ENTIRE_HPP */