1995
DOI: 10.1145/199818.199841
|View full text |Cite
|
Sign up to set email alerts
|

A new iteration mechanism for the C++ programming language

Myung Ho Kim

Abstract: A new mechanism for writing iterators in the C++ programming language is proposed in this paper. It provides a handy notation for writing general iterators easily, and a simple semantics based-on semicoroutines. A set of useful programming idioms for use with the proposed mechanism is also presented.

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1

Citation Types

0
2
0

Year Published

2000
2000
2018
2018

Publication Types

Select...
2

Relationship

0
2

Authors

Journals

citations
Cited by 2 publications
(2 citation statements)
references
References 4 publications
0
2
0
Order By: Relevance
“…There are difficulties with the cursor approach to iterators, not least the problems of nested iterations, when it is not easy to keep track of several cursors, and the problem of robust iterations, when elements may be added or removed during an iteration. There has been work reported to solve these problems: [10] proposes a CLU-like mechanism for Eiffel and [11] does the same for C ++ , while [13] is concerned with robust iterators in a C ++ class library.…”
Section: Object-oriented Languagesmentioning
confidence: 99%
“…There are difficulties with the cursor approach to iterators, not least the problems of nested iterations, when it is not easy to keep track of several cursors, and the problem of robust iterations, when elements may be added or removed during an iteration. There has been work reported to solve these problems: [10] proposes a CLU-like mechanism for Eiffel and [11] does the same for C ++ , while [13] is concerned with robust iterators in a C ++ class library.…”
Section: Object-oriented Languagesmentioning
confidence: 99%
“…Object-oriented Iterators. Iterators have a different meaning in the OOP community [7,27] where constructs such as C++ STL iterators are considered. Specifically, in C++ an iterator is any object that, pointing to some element in a range of elements (e.g.…”
Section: Introductionmentioning
confidence: 99%