Overloaded the iterator's -> operator.

This commit is contained in:
Jesse Beder
2008-07-02 01:32:19 +00:00
parent d56b54b34f
commit 901d16a96f
4 changed files with 18 additions and 17 deletions

1
node.h
View File

@@ -27,6 +27,7 @@ namespace YAML
friend bool operator != (const Iterator& it, const Iterator& jt);
Iterator& operator ++ ();
const Node& operator * ();
const Node *operator -> ();
const Node& first();
const Node& second();