mirror of
https://github.com/google/googletest.git
synced 2025-12-06 08:46:50 +08:00
`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 |
||
|---|---|---|
| .. | ||
| _data | ||
| _layouts | ||
| _sass | ||
| assets/css | ||
| reference | ||
| _config.yml | ||
| advanced.md | ||
| community_created_documentation.md | ||
| faq.md | ||
| gmock_cheat_sheet.md | ||
| gmock_cook_book.md | ||
| gmock_faq.md | ||
| gmock_for_dummies.md | ||
| index.md | ||
| pkgconfig.md | ||
| platforms.md | ||
| primer.md | ||
| quickstart-bazel.md | ||
| quickstart-cmake.md | ||
| samples.md | ||