mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-06-07 09:04:57 +02:00
Added arrow operator to ValueIterator and ValueConstIterator
This commit is contained in:
parent
f4b06cd607
commit
540db3b052
@ -1017,6 +1017,8 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
reference operator*() const { return deref(); }
|
reference operator*() const { return deref(); }
|
||||||
|
|
||||||
|
pointer operator->() const { return &deref(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
/** \brief Iterator for object and array value.
|
/** \brief Iterator for object and array value.
|
||||||
@ -1071,6 +1073,8 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
reference operator*() const { return deref(); }
|
reference operator*() const { return deref(); }
|
||||||
|
|
||||||
|
pointer operator->() const { return &deref(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Json
|
} // namespace Json
|
||||||
|
Loading…
x
Reference in New Issue
Block a user