You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code tests the presence of a particular attribute using a json pointer, in two different ways. It prints '1' for the first (which is correct), but '0' for the second line.
The following code tests the presence of a particular attribute using a json pointer, in two different ways. It prints '1' for the first (which is correct), but '0' for the second line.
Any ideas? I would have guessed these are equivalent, but obviously they are not. Tested with g++ 7.4 and clang++ 8.0 using json.hpp 3.7.0.
The text was updated successfully, but these errors were encountered: