| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| cmake | ||
| docs | ||
| include/gmock | ||
| scripts | ||
| src | ||
| test | ||
| CMakeLists.txt | ||
| CONTRIBUTORS | ||
| LICENSE | ||
| README.md |
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 |
|---|---|---|
| .. | ||
| cmake | Loading commit data... | |
| docs | Loading commit data... | |
| include/gmock | Loading commit data... | |
| scripts | Loading commit data... | |
| src | Loading commit data... | |
| test | Loading commit data... | |
| CMakeLists.txt | Loading commit data... | |
| CONTRIBUTORS | Loading commit data... | |
| LICENSE | Loading commit data... | |
| README.md | Loading commit data... |