mirror of
https://github.com/abseil/abseil-cpp.git
synced 2026-06-04 12:07:05 +08:00
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:
committed by
Copybara-Service
parent
0b1904f017
commit
418845fbea
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user