[all-commits] [llvm/llvm-project] e830ee: [libc++] Don't double-wrap iterators when bounded ...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Sat Mar 7 00:12:47 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e830ee80063531fdfb1273cc112634b62926c66f
      https://github.com/llvm/llvm-project/commit/e830ee80063531fdfb1273cc112634b62926c66f
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2026-03-07 (Sat, 07 Mar 2026)

  Changed paths:
    M libcxx/docs/ReleaseNotes/23.rst
    M libcxx/include/__iterator/bounded_iter.h
    M libcxx/include/__vector/vector.h
    M libcxx/include/optional
    M libcxx/include/string
    M libcxx/test/libcxx/iterators/contiguous_iterators.verify.cpp

  Log Message:
  -----------
  [libc++] Don't double-wrap iterators when bounded iterators are used (#182264)

There is no reason to double-wrap iterators, since we can already
achieve anything we want within `__bounded_iter`itself.

This is technically ABI breaking, but people using bounded iterators
shouldn't require ABI stability currently.

Fixes #178521



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list