Hui 23988a1d82 [libc++] Fix std::pair's pair-like constructor's incorrect assumption (#66585)
The helper function `__pair_like_explicit_wknd` is only SFINAE-ed with
`tuple_size<remove_cvref_t<_PairLike>>::value == 2`, but its function
body assumes `std::get` being valid.

Fixes #65620

(cherry picked from commit 054f9c55c6b4520d3feb8b4354b9b942026b5124)
2023-10-03 08:29:39 +02:00
..
2023-08-27 10:56:20 +02:00
2023-05-16 14:30:36 -07:00