[all-commits] [llvm/llvm-project] 18a4c9: [libc++] Fix bug where `optional<T&>` couldn't be ...
William Tran-Viet via All-commits
all-commits at lists.llvm.org
Fri Jun 12 18:58:59 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 18a4c90c5191cb2bade557061ee4afa548468c1e
https://github.com/llvm/llvm-project/commit/18a4c90c5191cb2bade557061ee4afa548468c1e
Author: William Tran-Viet <wtranviet at proton.me>
Date: 2026-06-13 (Sat, 13 Jun 2026)
Changed paths:
M libcxx/include/optional
M libcxx/test/std/utilities/optional/optional.monadic/and_then.pass.cpp
M libcxx/test/std/utilities/optional/optional.monadic/or_else.pass.cpp
M libcxx/test/std/utilities/optional/optional.monadic/transform.pass.cpp
Log Message:
-----------
[libc++] Fix bug where `optional<T&>` couldn't be constructed from `transform()` (#203462)
- Add the proper from monadic base constructor
- Fix the constraint so it allows references.
- 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