Luna::Vector::Vector

Vector(const allocator_type &alloc)

Constructs an empty vector with an custom allocator.

Parameters

  • in alloc

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