2 ms·The same reason std::string has the c_str() method. It’s convenient.by jdsully 7y agoThe same reason std::string has the c_str() method. It’s convenient.