Re:I'm Not a Fan of Strlcpy(3)
by dark-star on Monday July 15, 2024 @09:45AM
(#40967851)
I mean just use C++ w/ std::string why is it difficult?
[ Parent
| on HN ]
Re:I'm Not a Fan of Strlcpy(3)
by smallstepforman on Monday July 15, 2024 @11:05AM
(#40968509)
std::u8string
No, std::string.
Most C programs compile and work correctly compiled as C++. The exceptions are often places you shouldn't write code like that, sometimes even outright bugs that C++'s stricter type system caught for you.