Luna::Vector::Vector

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

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

Parameters

  • in rhs

    The vector to copy elements from.

  • in alloc

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