Regression: no matching literal operator for call to 'operator""_json' #3645
Labels
confirmed
kind: bug
solution: proposed fix
a fix for the issue has been proposed and waits for confirmation
Milestone
Description
Code I wrote for #3594 does no longer compile with the latest 3.11.0 release.
The line in question is
json j; j = R"({ "1": 1, "2": [ 1, 2, 3, 4, 5], "3": "third-value", "4": { "4-1": 1, "4-2": 2 }, "5": true })"_json;
This compiled before, but now fails with
Reproduction steps
Compile
with version 3.11.0.
Expected vs. actual results
Expected: compiles without error.
Actual: Error.
Minimal code example
Error messages
Compiler and operating system
Apple Clang 13.1.6 (clang-1316.0.21.2.5), macOS 12.4 (21F79)
Library version
3.11.0 release version
Validation
develop
branch is used.The text was updated successfully, but these errors were encountered: