I would like to be able to convert between std::vector and its underlying C array int* without explicitly copying the data.
Does std::vector provide access to the u
int* pv = &v[0]
Note that this is only the case for std::vector<>, you can not do the same with other standard containers.
std::vector<>
Scott Meyers covers this topic extensively in his books.