From 5e6a78131f7bd5940218462c07d88cdefdd75dbe Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Tue, 15 Jan 2019 08:49:10 -0800 Subject: Export of internal Abseil changes. -- 4a492de32dd1e02c5c3600bfdb36da7af7855210 by Samuel Benzaquen : Fix potential intergral overflow in the parser. PiperOrigin-RevId: 229378698 -- c5d5385eff879a65582138febb44c79725baf582 by CJ Johnson : Adds an explanatory comment over AbslHashValue(...) for InlinedVector PiperOrigin-RevId: 229237373 GitOrigin-RevId: 4a492de32dd1e02c5c3600bfdb36da7af7855210 Change-Id: Iad9edfde23ab5af9001ce80e3d00a34be3d73815 --- absl/container/inlined_vector.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'absl/container') diff --git a/absl/container/inlined_vector.h b/absl/container/inlined_vector.h index 7c574aec43bd..4849f7eaddaf 100644 --- a/absl/container/inlined_vector.h +++ b/absl/container/inlined_vector.h @@ -1354,6 +1354,10 @@ bool operator>=(const InlinedVector& a, return !(a < b); } +// AbslHashValue() +// +// Provides `absl::Hash` support for inlined vectors. You do not normally call +// this function directly. template Hash AbslHashValue(Hash hash, const InlinedVector& vec) { auto p = vec.data(); -- cgit 1.4.1