News for hackers. Stuff that matters.
Re:Libc++'s Implementation of std::string by continuational on Friday January 31, 2020 @12:56AM (#22199452)
If you use one of the bytes for a null terminator, then you can't use it for a character in the string, so isn't that 23 characters?
Re:Libc++'s Implementation of std::string by garmaine on Friday January 31, 2020 @02:12AM (#22199754)
Yes, but by that accounting the other mechanism has only 22 characters.