Make json::object iterator public
This commit is contained in:
parent
4ca3438fa1
commit
75eae5b4fa
3
json.hpp
3
json.hpp
@ -88,13 +88,14 @@ namespace json {
|
||||
class object : public node {
|
||||
protected:
|
||||
typedef std::map<std::string, std::unique_ptr<node>> value_store;
|
||||
public:
|
||||
typedef value_store::iterator iterator;
|
||||
typedef value_store::const_iterator const_iterator;
|
||||
|
||||
protected:
|
||||
value_store m_values;
|
||||
|
||||
public:
|
||||
object () { ; }
|
||||
virtual ~object ();
|
||||
|
||||
virtual const object& as_object (void) const { return *this; }
|
||||
|
Loading…
Reference in New Issue
Block a user