Luna::Vector::Vector

Vector(usize count, const allocator_type &alloc=allocator_type())

Constructs one vector with count elements, which their values being default-initialized.

Parameters

  • in count

    The number of elements in the vector.

  • in alloc

    The optioanl allocator instance bound to this vector. The allocator instance is copied into the vector type.