1 /*============================================================================= 2 Copyright (c) 2014 Kohei Takahashi 3 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 8 #include <boost/core/ignore_unused.hpp> 9 #include <boost/fusion/support/pair.hpp> 10 11 using namespace boost::fusion; 12 13 template <typename C> copy()14void copy() 15 { 16 pair<int, C> src; 17 pair<int, C> dest = src; 18 boost::ignore_unused(dest); 19 } 20 test()21void test() 22 { 23 copy<FUSION_SEQUENCE<> >(); 24 copy<FUSION_SEQUENCE<TEST_TYPE> >(); 25 copy<FUSION_SEQUENCE<TEST_TYPE, TEST_TYPE> >(); 26 } 27 28