add vector_t for C++ template-like std::vector<T>