Change ACTION{,_Pn,_TEMPLATE} macros to build functors rather than ActionInterface<> subclasses, thus changing the Action<> wrappers they create to use the modernized (non-const) argument tuple type, allowing these macros to mutate their arguments.
Functor-based Action<>s deep-copy the implementing object, so have the functors use a shared_ptr to the non-trivial state of bound value parameters. No longer specialize that shared state to the particular action signature, encoding that information instead only in the instantiation of the implementation function.
PiperOrigin-RevId: 341116208
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| internal | Loading commit data... | |
| gmock-actions.h | Loading commit data... | |
| gmock-cardinalities.h | Loading commit data... | |
| gmock-function-mocker.h | Loading commit data... | |
| gmock-generated-actions.h | Loading commit data... | |
| gmock-generated-actions.h.pump | Loading commit data... | |
| gmock-matchers.h | Loading commit data... | |
| gmock-more-matchers.h | Loading commit data... | |
| gmock-nice-strict.h | Loading commit data... | |
| gmock-spec-builders.h | Loading commit data... | |
| gmock.h | Loading commit data... |