A new WG21 paper is available. A copy is linked below, and the paper will also appear in the next normal WG21 mailing. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.
Document number: N3884
Date: 2014-01-20
Contiguous Iterators: A Refinement of Random Access Iterator
by Nevin Liber
Excerpt:
This is a proposal to add contiguous iterators to the standard, which is a refinement of random access
iterators.
A contiguous iterator is a random access iterator that also meets the following requirements:
std::pointer_from(i) == std::addressof(*i)
(wheni
is dereferenceable)
std::pointer_from(i + n) == std::pointer_from(i) + n
(wheni + n
is a valid iterator)
Add a Comment
Comments are closed.