[all-commits] [llvm/llvm-project] c88cef: [libc++] Simplify unique_ptr constructor SFINAE (#...
Nikolas Klauser via All-commits
all-commits at lists.llvm.org
Thu Jun 4 01:42:09 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c88cefb9f13ee2a448e06f75e98fe01d8a0bcb60
https://github.com/llvm/llvm-project/commit/c88cefb9f13ee2a448e06f75e98fe01d8a0bcb60
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2026-06-04 (Thu, 04 Jun 2026)
Changed paths:
M libcxx/include/__memory/unique_ptr.h
Log Message:
-----------
[libc++] Simplify unique_ptr constructor SFINAE (#201305)
This patch does a couple of things:
- inline aliases to `__enable_if_t`s, making it easier to understand
what's actually going on
- make the `enable_if`s dependent via a `class _Deleter = deleter_type`
instead of a `bool` and `__dependent_type`, reducing the number of
instantiated classes
- remove `__unique_ptr_deleter_sfinae`
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