Luna::List::List

List(List &&rhs, const allocator_type &alloc)

Constructs a list with an custom allocator and with elements moved from another list.

Parameters

  • in rhs

    The list to move elements from.

  • in alloc

    The allocator to use. The allocator object will be copy-constructed into the list.