Closed
Description
Description
had some issues with operator"" _json
namespacing. added the #define as per docs: https://json.nlohmann.me/api/operator_literal_json/ then there was an issue with #if JSON_USE_GLOBAL_UDLS not making any sense. should that be #ifdef ?
Reproduction steps
- #define JSON_USE_GLOBAL_UDLS
- #if JSON_USE_GLOBAL_UDLS causes compiler error
Expected vs. actual results
probaly should be #ifdef, not #if
Minimal code example
No response
Error messages
No response
Compiler and operating system
msvc 2019 - 16.11.17 (current as of 2022-08-02)
Library version
3.11.0
Validation
- The bug also occurs if the latest version from the
develop
branch is used. - I can successfully compile and run the unit tests.