-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
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
Unexpected result with std::string_view on different platform #182
Comments
That is wired because we always test that feature and it passes on CI with various versions of MSVC.
Although I'm not 100% sure because I don't know your configuration, I think the reason why you got a weird result is that you don't set FYI: https://docs.microsoft.com/en-us/cpp/build/reference/zc-cplusplus?view=msvc-170 |
Can some macros be defined, to force the behavior of inclusion of |
I added a workaround for MSVC's standard incompliant behavior, so now it works without You can also use |
Perfect, thank you. When to expect the release of new version of toml11? |
On Linux gcc 11.2
On Windows MSVC 19.29.30136.0
I expected same result and same type(string) like on Linux, but got char array.
The text was updated successfully, but these errors were encountered: