-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
regression: .value<size_t>
is compilation error.
#3655
Labels
confirmed
kind: bug
solution: proposed fix
a fix for the issue has been proposed and waits for confirmation
Milestone
Comments
Confirmed. Compiles with v3.10.5, fails with develop. |
alex-700
added a commit
to alex-700/json
that referenced
this issue
Aug 3, 2022
…cJsonType> argument - add regression test for nlohmann#3655
alex-700
added a commit
to alex-700/json
that referenced
this issue
Aug 3, 2022
…cJsonType> argument - add regression test for nlohmann#3655
alex-700
added a commit
to alex-700/json
that referenced
this issue
Aug 3, 2022
…cJsonType> argument - add regression test for nlohmann#3655
alex-700
added a commit
to alex-700/json
that referenced
this issue
Aug 3, 2022
…cJsonType> argument - add regression test for nlohmann#3655
4 tasks
2 tasks
Can confirm on Fedora 37 with 3.11.1. |
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
confirmed
kind: bug
solution: proposed fix
a fix for the issue has been proposed and waits for confirmation
Description
While calling
.value<size_t>
, the code requests instantiation ofjson_pointer<size_t>
which leads to compilation error, because of ambiguity between /=(string_t) and /=(size_t).Reproduction steps
https://godbolt.org/z/WYKW7hYeY
Expected vs. actual results
Code must compiles, as in 3.10.5.
Minimal code example
Error messages
No response
Compiler and operating system
archlinux, gcc-12.1
Library version
3.11.1
Validation
develop
branch is used.The text was updated successfully, but these errors were encountered: