ISO/IEC TS 21425:2017

Title

Language: EN Programming languages - C++ Extensions for ranges

Abstract

Language: EN ISO/IEC TS 21425:2017 describes extensions to the C++ Programming Language (2) that permit operations on ranges of data. These extensions include changes and additions to the existing library facilities as well as the extension of one core language facility. In particular, changes and extensions to the Standard Library include: - The formulation of the foundational and iterator concept requirements using the syntax of the Concepts TS (2). - Analogues of the Standard Library algorithms specified in terms of the new concepts. - The loosening of the algorithm constraints to permit the use of sentinels to denote the end of a range and corresponding changes to algorithm return types where necessary. - The addition of new concepts describing range and view abstractions; that is, objects with a begin iterator and an end sentinel. - New algorithm overloads that take range objects. - Support of callable objects (as opposed to function objects) passed as arguments to the algorithms. - The addition of optional projection arguments to the algorithms to permit on-the-fly data transformations. - Analogues of the iterator primitives and new primitives in support of the addition of sentinels to the library. - Constrained analogues of the standard iterator adaptors and stream iterators that satisfy the new iterator concepts. - New iterator adaptors (counted_iterator and common_iterator) and sentinels (unreachable). Changes to the core language include: - the extension of the range-based for statement to support the new iterator range requirements (10.4). ISO/IEC TS 21425:2017 does not specify constrained analogues of other parts of the Standard Library (e.g., the numeric algorithms), nor does it add range support to all the places that could benefit from it (e.g., the containers). ISO/IEC TS 21425:2017 does not specify any new range views, actions, or facade or adaptor utilities; all are left as future work.

Language(s)
Language: EN
Edition
1.0
Date of issue
07.12.2017
ISO/IEC JTC 1/SC 22
ICS Codes
35.060
Publication number
21425
Preview

To use the preview feature, please enable JavaScript in your Browser


Price (excl. VAT)
€ 180,00 (Download and hardcopy)
Delivery format
postal download (158 Pages)

Warenkorb

Back

Legend

Document for download (PDF) PDF document (download version)
ZIP File for download ZIP file (download version)
Shipping item Paper (print version)/shipping item
Adobe DRM ePub File E-book (Adobe DRM ePub)
Storage medium Storage medium
Database Database
Bezugsart Online Viewing access (7-days available online)
Mandatory Standard according current regulation Mandatory Standard according current regulation

This website uses cookies. By continuing to use this website you are giving consent to cookies being used. For information on cookies, please look at our privacy statement.