35 template<
class V,
class T>
36 static inline void remove(V& ts,
const T& t)
39 for (; j < ts.size() && ts[j] != t; j++);
41 for (; j < ts.size()-1; j++) ts[j] = ts[j+1];
46 template<
class V,
class T>
47 static inline bool find(V& ts,
const T& t)
50 for (; j < ts.size() && ts[j] != t; j++);
61 static inline void copy(
const T& from, T& to)
72 for (
int i = 0; i < from.
size(); i++){
static void append(const vec< T > &from, vec< T > &to)
static void copy(const T &from, T &to)
void clear(bool dealloc=false)
static bool find(V &ts, const T &t)
const T & last(void) const