Luna::List::List

List(const allocator_type &alloc)

Constructs an empty list with an custom allocator.

Parameters

  • in alloc

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