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_IS_TUPLE_HPP)
8 #define BOOST_VMD_IS_TUPLE_HPP
10 #include <boost/vmd/detail/setup.hpp>
12 #if BOOST_PP_VARIADICS
14 #include <boost/vmd/detail/is_tuple.hpp>
18 The succeeding comments in this file are in doxygen format.
25 /** \def BOOST_VMD_IS_TUPLE(sequence)
27 \brief Tests whether a sequence is a Boost PP tuple.
29 The macro checks to see if a sequence is a Boost PP tuple.
30 A Boost PP tuple is preprocessor tokens enclosed by a set of parentheses
31 with no preprocessing tokens before or after the parentheses.
33 sequence = a possible tuple
35 returns = 1 if the sequence is a Boost PP tuple.
40 #define BOOST_VMD_IS_TUPLE(sequence) \
41 BOOST_VMD_DETAIL_IS_TUPLE(sequence) \
44 #endif /* BOOST_PP_VARIADICS */
45 #endif /* BOOST_VMD_IS_TUPLE_HPP */