From 04cfa7ab715f66be75d74de93510c62a6cea62a4 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 8 May 2010 02:24:36 -0400 Subject: Added more iterator methods to call_scope_t --- src/scope.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/scope.h b/src/scope.h index 675fa4e1..30ba6823 100644 --- a/src/scope.h +++ b/src/scope.h @@ -241,6 +241,17 @@ public: args.pop_back(); } + typedef value_t::sequence_t::iterator iterator; + + value_t::sequence_t::iterator begin() { + return args.begin(); + } + value_t::sequence_t::iterator end() { + return args.end(); + } + + typedef value_t::sequence_t::const_iterator const_iterator; + value_t::sequence_t::const_iterator begin() const { return args.begin(); } -- cgit v1.2.3