diff options
author | Abseil Team <absl-team@google.com> | 2024-05-16 01:34:16 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-05-16 01:35:22 -0700 |
commit | 93ac3a4f9ee7792af399cebd873ee99ce15aed08 (patch) | |
tree | fc58844a9aab59d56d937ecd2f63c3a8fd31c973 /absl/algorithm/container_test.cc | |
parent | cbfe51b2c01da330ff292b145de91346a5950163 (diff) | |
download | abseil-93ac3a4f9ee7792af399cebd873ee99ce15aed08.tar.gz abseil-93ac3a4f9ee7792af399cebd873ee99ce15aed08.tar.bz2 abseil-93ac3a4f9ee7792af399cebd873ee99ce15aed08.zip |
Support `AbslStringify` with `DCHECK_EQ`.
`AbslStringify` is the [recommended](abseil.io/tips/215) way to make a type printable. However, the simple expression `DCHECK_EQ(x, y)` fails when either argument implements it, and not `operator<<`.
PiperOrigin-RevId: 634261367
Change-Id: Ic42666c286cf172c9482abbd28194da828706c71
Diffstat (limited to 'absl/algorithm/container_test.cc')
0 files changed, 0 insertions, 0 deletions