Partial rollback of removal of usages of absl::void_t

This breaks GCC 9 builds in absl::any_invocable

PiperOrigin-RevId: 905200659
Change-Id: Ica2b26af7f53006579148f077cd47482d17f9cd3
This commit is contained in:
Derek Mauro
2026-04-24 13:41:13 -07:00
committed by Copybara-Service
parent 0b1904f017
commit 418845fbea

View File

@@ -607,7 +607,7 @@ using UnwrapStdReferenceWrapper =
// substitution failures happen when forming the template arguments.
template <class... T>
using TrueAlias =
std::integral_constant<bool, sizeof(std::void_t<T...>*) != 0>;
std::integral_constant<bool, sizeof(absl::void_t<T...>*) != 0>;
/*SFINAE constraints for the conversion-constructor.*/
template <class Sig, class F,