tuple_fwd.hpp 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*=============================================================================
  2. Copyright (c) 2014-2015 Kohei Takahashi
  3. Distributed under the Boost Software License, Version 1.0. (See accompanying
  4. file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. ==============================================================================*/
  6. #ifndef FUSION_TUPLE_FORWARD_14122014_0051
  7. #define FUSION_TUPLE_FORWARD_14122014_0051
  8. #include <boost/config.hpp>
  9. #include <boost/fusion/support/config.hpp>
  10. #include <boost/fusion/container/vector/detail/config.hpp>
  11. #if !defined(BOOST_FUSION_HAS_VARIADIC_VECTOR) \
  12. || (defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES))
  13. # if defined(BOOST_FUSION_HAS_VARIADIC_TUPLE)
  14. # undef BOOST_FUSION_HAS_VARIADIC_TUPLE
  15. # endif
  16. #else
  17. # if !defined(BOOST_FUSION_HAS_VARIADIC_TUPLE)
  18. # define BOOST_FUSION_HAS_VARIADIC_TUPLE
  19. # endif
  20. #endif
  21. ///////////////////////////////////////////////////////////////////////////////
  22. // With no variadics, we will use the C++03 version
  23. ///////////////////////////////////////////////////////////////////////////////
  24. #if !defined(BOOST_FUSION_HAS_VARIADIC_TUPLE)
  25. # include <boost/fusion/tuple/detail/tuple_fwd.hpp>
  26. #else
  27. ///////////////////////////////////////////////////////////////////////////////
  28. // C++11 interface
  29. ///////////////////////////////////////////////////////////////////////////////
  30. namespace boost { namespace fusion
  31. {
  32. template <typename ...T>
  33. struct tuple;
  34. }}
  35. #endif
  36. #endif