map_move.cpp 830 B

12345678910111213141516171819202122232425262728
  1. /*=============================================================================
  2. Copyright (c) 2012 Joel de Guzman
  3. Copyright (c) 2018 Kohei Takahashi
  4. Distributed under the Boost Software License, Version 1.0. (See accompanying
  5. file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. ==============================================================================*/
  7. #define BOOST_FUSION_DONT_USE_PREPROCESSED_FILES
  8. #include <boost/fusion/container/map/map.hpp>
  9. struct k1 {};
  10. struct k2 {};
  11. #define FUSION_SEQUENCE boost::fusion::map<boost::fusion::pair<k1, std::vector<x>>>
  12. #define FUSION_SEQUENCE2 boost::fusion::map< \
  13. boost::fusion::pair<k1, std::vector<x>>, \
  14. boost::fusion::pair<k2, x>>
  15. #include "move.hpp"
  16. int main()
  17. {
  18. test();
  19. return boost::report_errors();
  20. }