<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in first.verify.cpp</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>633d1d0d - [libc++] Use bounded iterators in std::span when the debug mode is enabled</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/containers/views/views.span/span.sub/first.verify.cpp#633d1d0d</link>
        <description>[libc++] Use bounded iterators in std::span when the debug mode is enabledPreviously, we&apos;d use raw pointers when the debug mode was enabled,which means we wouldn&apos;t get out-of-range checking with std::span&apos;siterators.This patch introduces a new class called __bounded_iter which canbe used to wrap iterators and make them carry around bounds-relatedinformation. This allows iterators to assert when they are dereferencedoutside of their bounds.As a fly-by change, this commit removes the _LIBCPP_ABI_SPAN_POINTER_ITERATORSknob. Indeed, not using a raw pointer as the iterator type is useful toavoid users depending on properties of raw pointers in their code.This is an alternative to D127401.Differential Revision: https://reviews.llvm.org/D127418

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/containers/views/views.span/span.sub/first.verify.cpp</description>
        <pubDate>Mon, 06 Jun 2022 18:01:38 +0000</pubDate>
        <dc:creator>Louis Dionne &lt;ldionne.2@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
