Niels Lohmann

Results 421 comments of Niels Lohmann

We use MSVC in our CI without problems. To rule out some issues, can you remove the includes for `stdafx.h` and `resource.h` and try again?

The type_error exception should provide more information in the `what` string. If you print it, it should probably indicate what @nomadwolf0 wrote.

Thanks for the hint. With `-DJSON_HAS_THREE_WAY_COMPARISON=1` and Apple Clang, I get: ``` ❯ make create_output standard /Library/Developer/CommandLineTools/usr/bin/make examples/operator_spaceship__const_reference.c++20 \ CPPFLAGS="-I ../single_include -DJSON_USE_GLOBAL_UDLS=0 -DJSON_HAS_THREE_WAY_COMPARISON=1" \ CXXFLAGS="-std=c++20 -Wno-deprecated-declarations" c++ -std=c++20 -Wno-deprecated-declarations -I...

I really need help here. Beside yet another issue in the CI, this issue blocks the next release.

This seems related to #4279.

I have no idea how to fix it, so documentation is currently all we can do.

Can you show the output of `data.dump(-1, ' ', true)`? This should show `\u7ec4`, but I want to be sure.