[all-commits] [llvm/llvm-project] 48ae4d: [libc++] Fix `optional<T>::transform` into `option...

William Tran-Viet via All-commits all-commits at lists.llvm.org
Wed Sep 9 03:44:15 PDT 2026


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

  Changed paths:
    M libcxx/include/__optional/optional_ref.h
    M libcxx/test/std/utilities/optional/optional.monadic/transform.pass.cpp

  Log Message:
  -----------
  [libc++] Fix `optional<T>::transform` into `optional<T&>` (#221506)

Resolves #220332

- Make `optional<T>` a friend of `optional<T&>`, and add tests.



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