vector_erase(3)

NAME
vector_erase, vector_erase_range, vector_clear - erase elements of a vector

SYNOPSIS
#include <vector.h>

void vector_erase (vector v, int i);
void vector_erase_range (vector v, int i, int j);
void vector_clear (vector v);

DESCRIPTION

vector_erase removes the element v[i], shuffling the later elements down by one place to fill the space.

vector_erase_range removes a range of elements v[i] to v[j-1] (i <= j), shuffling later elements down to fill the space.

vector_clear removes all elements from the vector, setting its size to 0.

Array indexes are checked.

AUTHOR
Richard Jones <rich@annexia.org>

LICENSE
GNU LGPL (see http://www.gnu.org/)

VERSION
c2lib-1.2.14