[all-commits] [llvm/llvm-project] 5e1de2: Revert "[libc++][NFC] Simplify pair a bit" (#97003)
James Y Knight via All-commits
all-commits at lists.llvm.org
Fri Jun 28 06:43:16 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5e1de27f680591a870d78e9952b23f76aed7f456
https://github.com/llvm/llvm-project/commit/5e1de27f680591a870d78e9952b23f76aed7f456
Author: James Y Knight <jyknight at google.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M libcxx/include/__utility/pair.h
Log Message:
-----------
Revert "[libc++][NFC] Simplify pair a bit" (#97003)
Reverts llvm/llvm-project#96165
The change broke code like
#include <utility>
#include <vector>
struct Test {
std::vector<std::pair<int, Test>> v;
};
std::pair<int, Test> p;
under `-std=c++20`, apparently by triggering certain template
evaluations too eagerly.
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