Since C++11, data() is also required to be null terminated. Per your own source and cppreference.
LOL, I need to learn to click on the more modern tabs. Will delete comment.
LOL, I need to learn to click on the more modern tabs. Will delete comment.