etl::string_view odd length/size behaviour #836
Replies: 2 comments 2 replies
-
Mmm, that's odd. I'll take a look. |
Beta Was this translation helpful? Give feedback.
1 reply
-
If I try you example with VS2022 on Windows, and Clang 15/GCC 11 on Linux I get
What compiler are you running and on what platform? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have noticed some odd behaviour with etl::string_view and the stored length of a string. Compiler is MSVC 2019 (windows simulator build of an embedded device)
I do not observe this behaviour with std::string_view, which outputs the same length for both. Any idea why this discrepancy should exist?
Beta Was this translation helpful? Give feedback.
All reactions