vector

Create a vector from an input range, inferring the type of the elements and the allocator.

  1. auto vector(E[] elements)
  2. auto vector(A allocator, E[] elements)
  3. auto vector(R range)
  4. auto vector(A allocator, R range)
    vector
    (
    A = typeof(theAllocator)
    R
    )
    if (
    &&
    isInputRange!R
    )

Meta