Comment Comment by Matheus28 Since C++11, data() is also required to be null terminated. Per your own source and cppreference. parent Matheus28 7 months ago