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.
|
/// Represents a JSON array, and contains its children.
|
||||||
class array : public node {
|
class array : public node {
|
||||||
protected:
|
public:
|
||||||
std::vector<node*> m_values;
|
|
||||||
|
|
||||||
typedef std::vector<node*>::iterator array_iterator;
|
typedef std::vector<node*>::iterator array_iterator;
|
||||||
typedef std::vector<node*>::const_iterator const_array_iterator;
|
typedef std::vector<node*>::const_iterator const_array_iterator;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
std::vector<node*> m_values;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual ~array();
|
virtual ~array();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user