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