test/variant_many_types: add a constructor to Y

This commit is contained in:
Peter Dimov
2020-05-08 23:23:19 +03:00
parent 93204676f5
commit fa872cb835

View File

@ -29,6 +29,8 @@ template<class I> struct Y
Y() = default;
Y( Y const& ) = default;
explicit Y( int v ): v_( v ) {}
Y& operator=( Y const& ) noexcept = default;
Y& operator=( Y&& r ) noexcept