[libcxx-commits] [libcxx] [libc++] Only make comparators transparent in __tree if they don't cause a conversion (PR #179453)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Feb 3 06:13:23 PST 2026
================
@@ -380,7 +380,7 @@ struct less<void> {
};
template <class _Tp>
-struct __make_transparent<less<_Tp> > {
+struct __make_transparent<_Tp, less<_Tp> > {
----------------
ldionne wrote:
Would something like `__make_transparent<_Comparator, _Arg1, _Arg2>` (here `__make_transparent<_less<_Tp>, _Tp, _Tp>` be easier to understand?
https://github.com/llvm/llvm-project/pull/179453
More information about the libcxx-commits
mailing list