News for hackers. Stuff that matters.
Re:no strpy either by masklinn on Wednesday December 31, 2025 @10:46AM (#46445132)
It has nul-termination for compatibility with C, so you can call c_str and get a C string. With the caveat that an std::string can have nuls anywhere, which breaks C semantics. But C++ does not use that itself.

There are no comments on this comment yet.