We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f4b06cd + 540db3b commit b4357faCopy full SHA for b4357fa
include/json/value.h
@@ -1017,6 +1017,8 @@ class JSON_API ValueConstIterator : public ValueIteratorBase {
1017
}
1018
1019
reference operator*() const { return deref(); }
1020
+
1021
+ pointer operator->() const { return &deref(); }
1022
};
1023
1024
/** \brief Iterator for object and array value.
@@ -1071,6 +1073,8 @@ class JSON_API ValueIterator : public ValueIteratorBase {
1071
1073
1072
1074
1075
1076
1077
1078
1079
1080
} // namespace Json
0 commit comments