13 Sep
2019
13 Sep
'19
12:43 p.m.
On Fri, Sep 13, 2019 at 3:28 AM
Why not use a static_vector<char> ?
static_vector is missing all of the string-oriented algorithms.
There is a cost associated with maintaining the null termination of strings
Yeah, that's easily fixed. We can add the function fixed_capacity_string::c_str() which will put the terminator on and return a pointer, this way the mutating operations do not need to always leave the string in a null terminated state. Thanks