Luna::List::List

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

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

Parameters

  • in rhs

    The list to copy elements from.

  • in alloc

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