fusion/test/sequence/map_move.cpp
2018-02-24 16:00:57 +09:00

29 lines
830 B
C++

/*=============================================================================
Copyright (c) 2012 Joel de Guzman
Copyright (c) 2018 Kohei Takahashi
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
==============================================================================*/
#define BOOST_FUSION_DONT_USE_PREPROCESSED_FILES
#include <boost/fusion/container/map/map.hpp>
struct k1 {};
struct k2 {};
#define FUSION_SEQUENCE boost::fusion::map<boost::fusion::pair<k1, std::vector<x>>>
#define FUSION_SEQUENCE2 boost::fusion::map< \
boost::fusion::pair<k1, std::vector<x>>, \
boost::fusion::pair<k2, x>>
#include "move.hpp"
int main()
{
test();
return boost::report_errors();
}