Publically expose iterator typedef for json::array
This commit is contained in:
parent
d57269178a
commit
10b127415a
7
json.hpp
7
json.hpp
@ -101,12 +101,13 @@ namespace json {
|
||||
|
||||
/// Represents a JSON array, and contains its children.
|
||||
class array : public node {
|
||||
protected:
|
||||
std::vector<node*> m_values;
|
||||
|
||||
public:
|
||||
typedef std::vector<node*>::iterator array_iterator;
|
||||
typedef std::vector<node*>::const_iterator const_array_iterator;
|
||||
|
||||
protected:
|
||||
std::vector<node*> m_values;
|
||||
|
||||
public:
|
||||
virtual ~array();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user