• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*=============================================================================
2     Copyright (c) 2001-2011 Joel de Guzman
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/detail/lightweight_test.hpp>
8 #include <boost/fusion/container/vector/vector.hpp>
9 #include <boost/fusion/container/list/list.hpp>
10 #include <boost/fusion/sequence/comparison.hpp>
11 #include <boost/fusion/algorithm/auxiliary/copy.hpp>
12 
13 int
main()14 main()
15 {
16     {
17         boost::fusion::vector<int, short, double> v(1, 2, 3);
18         boost::fusion::list<int, short, double> l;
19 
20         boost::fusion::copy(v, l);
21         BOOST_TEST(v == l);
22     }
23 
24     return boost::report_errors();
25 }
26 
27