| 225 | |
| 226 | template<typename T> |
| 227 | inline void vector_erase_at(std::vector<T> &vec, unsigned idx) |
| 228 | { |
| 229 | if (idx < vec.size()) |
| 230 | vec.erase(vec.begin()+idx); |
| 231 | } |
| 232 | |
| 233 | template<typename FT> |
| 234 | unsigned insert_into_vector(std::vector<FT> &vec, FT key, bool *inserted = NULL) |
no test coverage detected