summaryrefslogtreecommitdiff
path: root/boost/graph/detail/array_binary_tree.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/graph/detail/array_binary_tree.hpp')
-rw-r--r--boost/graph/detail/array_binary_tree.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/boost/graph/detail/array_binary_tree.hpp b/boost/graph/detail/array_binary_tree.hpp
index 78755556c8..e59da9e179 100644
--- a/boost/graph/detail/array_binary_tree.hpp
+++ b/boost/graph/detail/array_binary_tree.hpp
@@ -63,6 +63,9 @@ public:
inline iterator& operator++() { ++i; return *this; }
inline iterator operator++(int)
{ iterator t = *this; ++(*this); return t; }
+ inline iterator& operator--() { --i; return *this; }
+ inline iterator operator--(int)
+ { iterator t = *this; --(*this); return t; }
inline bool operator==(const iterator& x) const { return i == x.i; }
inline bool operator!=(const iterator& x) const
{ return !(*this == x); }