Kozsik, Tamás, Pataki, Norbert, Szűgyi, Zalán (2011) C++ Standard Template Library by infinite iterators Annales Mathematicae et Informaticae. 38. pp. 75-86. ISSN 1787-5021 (Print), 1787-6117 (Online)
pdf
AMI_38_from75to86.pdf Download (368kB) |
Absztrakt (kivonat)
The C++ Standard Template Library (STL) is an essential part of pro- fessional C++ programs. STL is a type-safe template library that is based on the generic programming paradigm and helps to avoid some possible dangerous C++ constructs. With its usage, the efficiency, safety and quality of the code is increased. However, professional C++ programmers are eager for some missing STLrelated opportunities. For instance, infinite ranges are hardly supported by C++ STL. STL does not contain iterators that use a predicate during traversal. STL’s design is not good at all from the view of predicates. In this paper we present some extensions of C++ STL that supports effective generic programming. We show scenarios where these extensions can be used pretty gracefully. We present the implementation of our infinite iterators.
Mű típusa: | Folyóiratcikk | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Szerző: |
|
||||||||||||||||
Kapcsolódó URL-ek: | |||||||||||||||||
Kulcsszavak: | C++, STL, iterators | ||||||||||||||||
Nyelv: | angol | ||||||||||||||||
Kötetszám: | 38. | ||||||||||||||||
ISSN: | 1787-5021 (Print), 1787-6117 (Online) | ||||||||||||||||
Felhasználó: | Tibor Gál | ||||||||||||||||
Dátum: | 08 Már 2019 16:34 | ||||||||||||||||
Utolsó módosítás: | 08 Már 2019 16:34 | ||||||||||||||||
URI: | http://publikacio.uni-eszterhazy.hu/id/eprint/3240 |
Tétel nézet |