Undo unintended inlining of absl::void_t -- the inlining didn't actually replace it with std::void_t

PiperOrigin-RevId: 898825657
Change-Id: Icd97cec5602753759608623619acd7c6fd5bc953
This commit is contained in:
Abseil Team
2026-04-13 00:35:14 -07:00
committed by Copybara-Service
parent ea64b6e7e6
commit 04b6110da9

View File

@@ -109,8 +109,7 @@ struct is_detected : is_detected_impl<void, Op, Args...>::type {};
// appear duplicated (and thus invalid) to the compiler prior to substitution
// taking place. Whenever possible, use `std::void_t` instead.
template <typename... Ts>
using void_t ABSL_REFACTOR_INLINE =
typename type_traits_internal::VoidTImpl<Ts...>::type;
using void_t = typename type_traits_internal::VoidTImpl<Ts...>::type;
// Historical note: Abseil once provided implementations of these type traits
// for platforms that lacked full support. New code should prefer to use the