How to correctly add a null-terminated character for string\wstring strings from the standard library?
The task is to compare the representation of a wstring string with a vector of bytes, which contains the representation of this string + a null-terminated symbol. What to do, cut the last byte from the vector?