A new WG21 paper is available. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.
Document number: N4132
Date: 2014-09-10
Contiguous Iterators
by Jens Maurer
Excerpt:
There are four containers in the standard library that guarantee contiguous storage:
vector
,string
,valarray
, andarray
. In the Library Fundamentals TS, there is alsostring_view
. This paper introduces the term "contiguous iterator" as a refinement of random-access iterator, without introducing a correspondingcontiguous_iterator_tag
, which was found to break code during the Issaquah discussions of Nevin Liber's paper N3884 "Contiguous Iterators: A Refinement of Random Access Iterators".
Add a Comment
Comments are closed.