-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
ADL issue in input_adapter #2248
Copy link
Copy link
Closed
Labels
kind: bugstate: stalethe issue has not been updated in a while and will be closed automatically soon unless it is updatedthe issue has not been updated in a while and will be closed automatically soon unless it is updated
Metadata
Metadata
Assignees
Labels
kind: bugstate: stalethe issue has not been updated in a while and will be closed automatically soon unless it is updatedthe issue has not been updated in a while and will be closed automatically soon unless it is updated
json::parsedoes not work with containers which only providebegin()andend()member functions. This worked in 3.7.0.Example https://godbolt.org/z/NtXn4M:
gives a (long) compile error.
This is probably because of the unqualified
beginandendin the trailing return type here (https://github.com/nlohmann/json/blob/v3.8.0/single_include/nlohmann/json.hpp#L4796-L4805) withoutusing std::begin; using std::end;:The old code had
std::beginandstd::endthere, which is also wrong, for different reasons. Unfortunately, I don't know how to fix it...