"Are there member functions of std::string that let me do that?"
In short: No.
That std::vector
stores the std::string
instances in a contiguous array, doesn't mean that the pointers to the underlying char
arrays of these string instances appear contiguously in memory.