This should be a simple question, but I'm having difficulty finding the answer.
If I have multiple std::vectors on the heap which are only accessed by one thread each are they thread-safe? That is, because the vectors will be dedicated to a particular thread, I am only concerned about memory access violations when the vectors resize themselves, not about concurrent accesses, data races, etc.
Of course I could just stick each vector on its thread's stack, but they will be very large and could cause a stack overflow in my application.
Thanks!