[all-commits] [llvm/llvm-project] 525d9e: [libc++] Remove `_Tag` template parameter from __c...

William Tran-Viet via All-commits all-commits at lists.llvm.org
Mon Sep 21 08:27:33 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 525d9e9db6a49f39c4eaaad879d0464b70991ef5
      https://github.com/llvm/llvm-project/commit/525d9e9db6a49f39c4eaaad879d0464b70991ef5
  Author: William Tran-Viet <wtranviet at proton.me>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M libcxx/include/__iterator/capacity_aware_iterator.h
    M libcxx/include/__optional/optional.h
    M libcxx/include/__optional/optional_ref.h
    M libcxx/test/libcxx/iterators/capacity_aware_iter/arithmetic.pass.cpp
    M libcxx/test/libcxx/iterators/capacity_aware_iter/assert.pass.cpp
    M libcxx/test/libcxx/iterators/capacity_aware_iter/comparison.pass.cpp
    M libcxx/test/libcxx/iterators/capacity_aware_iter/contiguous.verify.cpp
    M libcxx/test/libcxx/iterators/capacity_aware_iter/dereference.pass.cpp
    M libcxx/test/libcxx/iterators/capacity_aware_iter/types.compile.pass.cpp

  Log Message:
  -----------
  [libc++] Remove `_Tag` template parameter from __capacity_aware_iterator (#224983)

Since it was decided that `_Tag`'s benefit of preventing iterator mixups
didn't outweigh the added compile times and extra template
instantiations, remove it and all locations that used
`__capacity_aware_iterator` (so just `optional`).



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