-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Compilation error if json_pointer is used with alternative string type #3388
Comments
@falbrechtskirchinger Related to the |
No. The issue seems to be that (This is from my string_view3 branch but applies to the unmodified
I believe the offending line is |
True, though I suspect it should be templated on string type, and not |
What is the issue you have?
If
basic_json
is specialized with an alternative string type, like in theunit-alt-string.cpp
unit test, andat
oroperator[]
is used with ajson_pointer
argument, then compilation fails.Please describe the steps to reproduce the issue.
See below
Can you provide a small but working code example?
Add this test section to
unit-alt-string.cpp
and build the unit tests:Compilation fails, see error output below.
Which compiler and operating system are you using?
Which version of the library did you use?
develop
branchIf you experience a compilation error: can you compile and run the unit tests?
The text was updated successfully, but these errors were encountered: