4 ms·It doesn't have to make a copy. std::string is always null-terminated as of C++11.by hermitdev 8y agoIt doesn't have to make a copy. std::string is always null-terminated as of C++11.