0
0
mirror of https://github.com/google/googletest.git synced 2025-03-20 10:53:47 +00:00
Zhanyong Wan 4ee4b17bf5 Allow DistanceFrom() to use user-defined abs() by default.
`std::abs()` doesn't work on custom types. While one can use the 3-argument version of `DistanceFrom()` to specify how to compute the distance, it's not as convenient as defining `abs()` for the custom type once in the type's namespace and then use the 2-argument version.

PiperOrigin-RevId: 735741409
Change-Id: If8fb668455eb963a2ccf089f7467c64965a2e7a6
2025-03-11 06:58:43 -07:00
..
2023-04-20 14:29:09 -07:00
2024-07-23 03:57:23 -07:00
2025-02-12 09:44:07 -08:00
2025-02-10 10:22:27 -08:00
2024-08-29 08:17:22 -07:00
2025-02-12 09:44:07 -08:00