Not really; characters of an `std::string` aren't guaranteed to be allocated contiguously.