zip_iterator_test_std_pair.cpp 816 B

123456789101112131415161718192021222324252627282930313233
  1. // Copyright (c) 2014 Kohei Takahashi.
  2. //
  3. // Distributed under the Boost Software License, Version 1.0. (See
  4. // accompanying file LICENSE_1_0.txt or copy at
  5. // http://www.boost.org/LICENSE_1_0.txt)
  6. //
  7. // See http://www.boost.org for most recent version including documentation.
  8. #include <boost/config.hpp>
  9. #include <boost/config/workaround.hpp>
  10. #include <boost/config/pragma_message.hpp>
  11. #if BOOST_WORKAROUND(BOOST_MSVC, < 1600)
  12. BOOST_PRAGMA_MESSAGE("Skipping test on msvc-9.0 and below")
  13. int main() {}
  14. #elif defined(BOOST_GCC) && __cplusplus < 201100
  15. BOOST_PRAGMA_MESSAGE("Skipping test on g++ in C++03 mode")
  16. int main() {}
  17. #else
  18. #include <utility>
  19. #include <boost/fusion/adapted/std_pair.hpp>
  20. #define TUPLE std::pair
  21. #define MAKE_TUPLE std::make_pair
  22. #include "detail/zip_iterator_test.ipp"
  23. #endif