Added more iterator methods to call_scope_t
This commit is contained in:
parent
4ec54b86f8
commit
04cfa7ab71
1 changed files with 11 additions and 0 deletions
11
src/scope.h
11
src/scope.h
|
|
@ -241,6 +241,17 @@ public:
|
||||||
args.pop_back();
|
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 {
|
value_t::sequence_t::const_iterator begin() const {
|
||||||
return args.begin();
|
return args.begin();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue