Hacker News new | ask | show | jobs
by BubRoss 2328 days ago
Are you saying that there should not be an extra 0 byte at the end until the string fills up and c_str() is called? Inconsistent allocations seem like a recipe for difficult to debug performance problems.
1 comments

> Are you saying that there should not be an extra 0 byte at the end until the string fills up and c_str() is called?

No.