list_fwd.hpp 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*=============================================================================
  2. Copyright (c) 2014 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_LIST_FORWARD_10262014_0528
  7. #define FUSION_LIST_FORWARD_10262014_0528
  8. #include <boost/fusion/support/config.hpp>
  9. #include <boost/config.hpp>
  10. #if defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) \
  11. || (defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES))
  12. # if defined(BOOST_FUSION_HAS_VARIADIC_LIST)
  13. # undef BOOST_FUSION_HAS_VARIADIC_LIST
  14. # endif
  15. #else
  16. # if !defined(BOOST_FUSION_HAS_VARIADIC_LIST)
  17. # define BOOST_FUSION_HAS_VARIADIC_LIST
  18. # endif
  19. #endif
  20. ///////////////////////////////////////////////////////////////////////////////
  21. // With no variadics, we will use the C++03 version
  22. ///////////////////////////////////////////////////////////////////////////////
  23. #if !defined(BOOST_FUSION_HAS_VARIADIC_LIST)
  24. # include <boost/fusion/container/list/detail/cpp03/list_fwd.hpp>
  25. #else
  26. ///////////////////////////////////////////////////////////////////////////////
  27. // C++11 interface
  28. ///////////////////////////////////////////////////////////////////////////////
  29. namespace boost { namespace fusion
  30. {
  31. struct void_;
  32. template <typename ...T>
  33. struct list;
  34. }}
  35. #endif
  36. #endif