How to clear vector

Hi,
Is there any way to clear the vector. I am using ch as my vector and for every event I want to clear it.
std::vector<float*> ch;
ch.clear();

But I am getting some error like
Error: Function destroy(i,finish) is not defined in current scope _vector.h:162:
*** Interpreter error recovered ***

Thanks and regards
sunil

You need to create a dictionary for vector<float*> and/or compile your script.

Philippe