Files

87 lines
3.1 KiB
C++

/*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
==============================================================================*/
#ifndef ACTIV_BOOST_PP_IS_ITERATING
#if !defined(ACTIV_BOOST_FUSION_MAKE_TUPLE_10032005_0843)
#define ACTIV_BOOST_FUSION_MAKE_TUPLE_10032005_0843
#include <ActivBoost/preprocessor/iterate.hpp>
#include <ActivBoost/preprocessor/repetition/enum_params.hpp>
#include <ActivBoost/preprocessor/repetition/enum_binary_params.hpp>
#include <ActivBoost/fusion/tuple/detail/tuple.hpp>
#include <ActivBoost/fusion/support/detail/as_fusion_element.hpp>
namespace Boost { namespace fusion
{
ACTIV_BOOST_FUSION_GPU_ENABLED inline tuple<>
make_tuple()
{
return tuple<>();
}
}}
#if !defined(ACTIV_BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
#include <ActivBoost/fusion/tuple/detail/preprocessed/make_tuple.hpp>
#else
#if defined(__WAVE__) && defined(ACTIV_BOOST_FUSION_CREATE_PREPROCESSED_FILES)
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/make_tuple" ACTIV_BOOST_FUSION_MAX_VECTOR_SIZE_STR ".hpp")
#endif
/*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
This is an auto-generated file. Do not edit!
==============================================================================*/
#if defined(__WAVE__) && defined(ACTIV_BOOST_FUSION_CREATE_PREPROCESSED_FILES)
#pragma wave option(preserve: 1)
#endif
namespace Boost { namespace fusion
{
#define ACTIV_BOOST_FUSION_AS_FUSION_ELEMENT(z, n, data) \
typename detail::as_fusion_element<ACTIV_BOOST_PP_CAT(T, n)>::type
#define ACTIV_BOOST_PP_FILENAME_1 <ActivBoost/fusion/tuple/detail/make_tuple.hpp>
#define ACTIV_BOOST_PP_ITERATION_LIMITS (1, ACTIV_BOOST_FUSION_MAX_VECTOR_SIZE)
#include ACTIV_BOOST_PP_ITERATE()
#undef ACTIV_BOOST_FUSION_AS_FUSION_ELEMENT
}}
#if defined(__WAVE__) && defined(ACTIV_BOOST_FUSION_CREATE_PREPROCESSED_FILES)
#pragma wave option(output: null)
#endif
#endif // ACTIV_BOOST_FUSION_DONT_USE_PREPROCESSED_FILES
#endif
#else // defined(ACTIV_BOOST_PP_IS_ITERATING)
///////////////////////////////////////////////////////////////////////////////
//
// Preprocessor vertical repetition code
//
///////////////////////////////////////////////////////////////////////////////
#define N ACTIV_BOOST_PP_ITERATION()
template <ACTIV_BOOST_PP_ENUM_PARAMS(N, typename T)>
ACTIV_BOOST_FUSION_GPU_ENABLED
inline tuple<ACTIV_BOOST_PP_ENUM(N, ACTIV_BOOST_FUSION_AS_FUSION_ELEMENT, _)>
make_tuple(ACTIV_BOOST_PP_ENUM_BINARY_PARAMS(N, T, const& arg))
{
return tuple<ACTIV_BOOST_PP_ENUM(N, ACTIV_BOOST_FUSION_AS_FUSION_ELEMENT, _)>(
ACTIV_BOOST_PP_ENUM_PARAMS(N, arg));
}
#undef N
#endif // defined(ACTIV_BOOST_PP_IS_ITERATING)