We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am using eastl::string as a file name, but I found out there is an issue if the string includes 23 characters. I am using VS 2022.
This is my test code: eastl::string name = "12345678901234567890123";
The result is : name = "12345678901234567890123..."
I think it is because of small string optimization, but I am unsure. Is this the expected result? Thanks!
The text was updated successfully, but these errors were encountered:
How do you get that result? string is not null terminated, so any view on this may show bytes behind the "real" data.
Sorry, something went wrong.
I only assigned a string with 23 characters, then I got this result. Strings with other lengths are no problem.
No branches or pull requests
I am using eastl::string as a file name, but I found out there is an issue if the string includes 23 characters. I am using VS 2022.
This is my test code:
eastl::string name = "12345678901234567890123";
The result is :
name = "12345678901234567890123..."
I think it is because of small string optimization, but I am unsure. Is this the expected result?
Thanks!
The text was updated successfully, but these errors were encountered: