ΒΆtemplate <class FromType>
inline constexpr auto move_into(
    FromType& from) noexcept

Description

Moves from and converts from the given value to whatever a receiver requires. This is sugar for `sus::into(sus::move(x))`, which can be written as `sus::move_into(x)`. The result will be receivable if [`Into <FromType , ToType>`]($sus::construct::Into) is satisfied. To capture an rvalue, use [`into`]($sus::construct::into). Note that arrays can not be moved, so can not be given to `move_into`.

Declared at: sus/construct/into.h:151

Templates

FromType

Parameters

FromType& from