From e6044634dd7caec2d79a13aecc9e765023768757 Mon Sep 17 00:00:00 2001 From: Phoebe Liang Date: Wed, 2 Nov 2022 15:27:54 -0700 Subject: Support logging of user-defined types that implement `AbslStringify()` If a user-defined type has `AbslStringify()` defined, it will always be used for logging over `operator<<`. `HasAbslStringify` now uses the empty class `UnimplementedSink` for its checks instead of `StringifySink` in order to make it work in cases involving other sinks. PiperOrigin-RevId: 485710377 Change-Id: Ibdd916151c7abc3269c35fbe79b772867f3d25e1 --- CMake/AbseilDll.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'CMake') diff --git a/CMake/AbseilDll.cmake b/CMake/AbseilDll.cmake index b81b0cea..831ec5fb 100644 --- a/CMake/AbseilDll.cmake +++ b/CMake/AbseilDll.cmake @@ -244,6 +244,7 @@ set(ABSL_INTERNAL_DLL_FILES "strings/internal/string_constant.h" "strings/internal/stringify_sink.h" "strings/internal/stringify_sink.cc" + "strings/internal/has_absl_stringify.h" "strings/match.cc" "strings/match.h" "strings/numbers.cc" -- cgit v1.2.3