Luna::List::List

List(InitializerList< value_type > ilist, const allocator_type &alloc=allocator_type())

Constructs a list with elements specified by one initializer list.

Parameters

  • in ilist

    The initializer list.

  • in alloc

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