Closed eseiler closed 2 years ago
Fixes https://github.com/ericniebler/range-v3/issues/1672
I'm not too sure about whether the replacement is correct (CI seems OK).
Type is ranges::any, and we check for swappable. In the end, we want to use the any constructor with copyable restriction.
ranges::any
swappable
any
copyable
copyable requires movable, and movable requires swappable
movable
Fixes https://github.com/ericniebler/range-v3/issues/1672
I'm not too sure about whether the replacement is correct (CI seems OK).
Type is
ranges::any
, and we check forswappable
. In the end, we want to use theany
constructor withcopyable
restriction.copyable
requiresmovable
, andmovable
requiresswappable