map_fwd.hpp 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*=============================================================================
  2. Copyright (c) 2001-2011 Joel de Guzman
  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. #if !defined(FUSION_MAP_FORWARD_MAIN_07212005_1105)
  7. #define FUSION_MAP_FORWARD_MAIN_07212005_1105
  8. #include <boost/config.hpp>
  9. ///////////////////////////////////////////////////////////////////////////////
  10. // With no decltype and variadics, we will use the C++03 version
  11. ///////////////////////////////////////////////////////////////////////////////
  12. #if (defined(BOOST_NO_CXX11_DECLTYPE) \
  13. || defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) \
  14. || defined(BOOST_NO_CXX11_RVALUE_REFERENCES))
  15. # include <boost/fusion/container/map/detail/cpp03/map_fwd.hpp>
  16. #else
  17. # if !defined(BOOST_FUSION_HAS_VARIADIC_MAP)
  18. # define BOOST_FUSION_HAS_VARIADIC_MAP
  19. #endif
  20. #include <boost/fusion/container/map/detail/map_impl.hpp>
  21. ///////////////////////////////////////////////////////////////////////////////
  22. // C++11 interface
  23. ///////////////////////////////////////////////////////////////////////////////
  24. namespace boost { namespace fusion
  25. {
  26. template <typename ...T>
  27. struct map;
  28. }}
  29. #endif
  30. #endif