Merge pull request #1568 from ericrannaud/ericrannaud/memberiterator-public

Make GenericMemberIterator::Iterator public again (RAPIDJSON_NOMEMBER…
This commit is contained in:
Milo Yip 2020-12-23 09:41:20 +08:00 committed by GitHub
commit 56f215e5c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -289,12 +289,14 @@ class GenericMemberIterator;
//! non-const GenericMemberIterator
template <typename Encoding, typename Allocator>
class GenericMemberIterator<false,Encoding,Allocator> {
public:
//! use plain pointer as iterator type
typedef GenericMember<Encoding,Allocator>* Iterator;
};
//! const GenericMemberIterator
template <typename Encoding, typename Allocator>
class GenericMemberIterator<true,Encoding,Allocator> {
public:
//! use plain const pointer as iterator type
typedef const GenericMember<Encoding,Allocator>* Iterator;
};