forked from boostorg/variant2
test/variant_many_types: add a constructor to Y
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user