Hi,
I need to populate a basic_string with keys supplied by a calling program. I put all these strings into a vector, then sort it. This has been working fine, and we are happy with performance. The problem has now arisen where the keys may sometimes have binary data within them. Will this affect the basic_string ? We have tried the code before with char *, and performance degrades significantly. Can anyone help ?
I need to populate a basic_string with keys supplied by a calling program. I put all these strings into a vector, then sort it. This has been working fine, and we are happy with performance. The problem has now arisen where the keys may sometimes have binary data within them. Will this affect the basic_string ? We have tried the code before with char *, and performance degrades significantly. Can anyone help ?