mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-18 06:42:13 +02:00
Added test for GitHub issue #159
This commit is contained in:
@ -219,6 +219,7 @@ project
|
|||||||
: [ requires cxx11_variadic_templates cxx11_hdr_tuple ] ]
|
: [ requires cxx11_variadic_templates cxx11_hdr_tuple ] ]
|
||||||
[ run sequence/ref_vector.cpp ]
|
[ run sequence/ref_vector.cpp ]
|
||||||
[ run sequence/flatten_view.cpp ]
|
[ run sequence/flatten_view.cpp ]
|
||||||
|
[ compile sequence/github-159.cpp ]
|
||||||
|
|
||||||
[ compile sequence/size.cpp ]
|
[ compile sequence/size.cpp ]
|
||||||
|
|
||||||
|
16
test/sequence/github-159.cpp
Normal file
16
test/sequence/github-159.cpp
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2017 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)
|
||||||
|
==============================================================================*/
|
||||||
|
|
||||||
|
#include <boost/fusion/container/vector/vector.hpp>
|
||||||
|
#include <boost/type.hpp>
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
boost::fusion::vector<int, float> v1;
|
||||||
|
boost::fusion::vector<int, float> v2(v1);
|
||||||
|
v1 = v2;
|
||||||
|
}
|
Reference in New Issue
Block a user