mirror of
https://github.com/google/googletest.git
synced 2025-12-06 16:57:00 +08:00
This provides a type-safe way for an action to express that it wants to be called only once, or to capture move-only objects. It is a generalization of the type system-evading hack in ByMove, with the improvement that it works for _any_ action (including user-defined ones), and correctly expresses that the action can only be used with WillOnce. I'll make existing actions benefit in a future commit. PiperOrigin-RevId: 440496139 Change-Id: I4145d191cca5655995ef41360bb126c123cb41d3 |
||
|---|---|---|
| .. | ||
| _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 | ||