You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the issue you have?
nlohman::json{char16_t*} is a compiler error, but nlohman::josn{char16_t[]) is accepted
Please describe the steps to reproduce the issue. Can you provide a small but working code example?
just compile as described
What is the expected behavior?
char16_t* and char16_t[] should be handled the same way.
Because both define a utf16 sequence, automatic conversion to utf8 is expected.
Same is true for u16string and u16string_view.
And what is the actual behavior instead?
char16_t* is a compile error and char16_t[] is stored as array of values.
Which compiler and operating system are you using? Is it a [supported compiler]
visual studio 2017 15.4.1
Did you use a released version of the library or the version from the develop branch?
released, 3.1.2
The text was updated successfully, but these errors were encountered:
nlohman::json{char16_t*} is a compiler error, but nlohman::josn{char16_t[]) is accepted
just compile as described
char16_t* and char16_t[] should be handled the same way.
Because both define a utf16 sequence, automatic conversion to utf8 is expected.
Same is true for u16string and u16string_view.
char16_t* is a compile error and char16_t[] is stored as array of values.
visual studio 2017 15.4.1
develop
branch?released, 3.1.2
The text was updated successfully, but these errors were encountered: