mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-04 16:16:31 +02:00
68320,68374,68377,68386,68449,68461,68485,68487,68489,68491,68494-68495 68519-68520,68523,68536,68538-68539,68548-68549,68576,68645-68646,68657,68676 68687,68690,68707,68725,68744-68746,68852-68853,68861,68870,68904,68906-68908 68938,68989,69020,69022-69024,69091-69092,69103-69104,69114,69136,69138,69193 69202,69204,69233,69292-69293,69295,69297-69298,69323,69337,69378-69380,69405,69429,69431-69433,69444,69450 69495-69498,69501,69503,69505,69527,69599,69618,69623,69670-69671,69673,69675,69772-69774,69780 69811,69813-69814,69833,69851,70045,70211-70216,70224-70225,70483,70549-70550 Fusion: 69113,69118,69137,69583,69589,70008-70009) [SVN r70577]
27 lines
848 B
C++
27 lines
848 B
C++
/*=============================================================================
|
|
Copyright (c) 2001-2011 Joel de Guzman
|
|
|
|
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)
|
|
==============================================================================*/
|
|
#include <boost/detail/lightweight_test.hpp>
|
|
#include <boost/fusion/container/vector/vector.hpp>
|
|
#include <boost/fusion/container/list/list.hpp>
|
|
#include <boost/fusion/sequence/comparison.hpp>
|
|
#include <boost/fusion/algorithm/auxiliary/copy.hpp>
|
|
|
|
int
|
|
main()
|
|
{
|
|
{
|
|
boost::fusion::vector<int, short, double> v(1, 2, 3);
|
|
boost::fusion::list<int, short, double> l;
|
|
|
|
boost::fusion::copy(v, l);
|
|
BOOST_TEST(v == l);
|
|
}
|
|
|
|
return boost::report_errors();
|
|
}
|
|
|