D Programming Language 2.0

- Comments
- D
- Search
- Home

Last update Mon Mar 30 23:32:30 2009

# std.array

void insert(T, Range)(ref T[] array, size_t pos, Range stuff);
  Inserts stuff in container at position pos.
void erase(T)(ref T[] array, size_t from, size_t to);
  Erases elements from array with indices ranging from from (inclusive) to to (exclusive).
void replace(T, Range)(ref T[] array, size_t from, size_t to, Range stuff);
  Replaces elements from array with indices ranging from from (inclusive) to to (exclusive) with the range stuff. Expands or shrinks the array as needed.

Copyright © 1999-2009 by Digital Mars, All Rights Reserved | Page generated by Ddoc.