Takes the other list's nodes and sentinel; the other list is left empty and allocates a new sentinel when it is next used.
Declared in <cptr/list.hpp>
<cptr/list.hpp>
basic_list(basic_list&& other) noexcept;