-
We have a strange problem that only happens with XCode on OSX. It works fine on Window and Linux. We have an empty object assigning the result of a find() to a const_object_iterator. This should be the object's end().
Our findings: We changed the random_access_iterator_wrapper (with less than partial understanding) to init has_value_ from the the other:
Can anybody help on this? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Transferring to issues. |
Beta Was this translation helpful? Give feedback.
-
You're right. jsoncons object iterators are based on So we introduced The fix is in release 0.168.7. |
Beta Was this translation helpful? Give feedback.
-
Cool, thanks for the quick response and fix: |
Beta Was this translation helpful? Give feedback.
Cool, thanks for the quick response and fix:
Would it also apply to the following contructor?
explicit random_access_iterator_wrapper(Iterator ptr) : it_(ptr), has_value_(true)
{
}