diff options
author | Abseil Team <absl-team@google.com> | 2018-12-19 03:16:02 -0500 |
---|---|---|
committer | Mark Barolak <mbar@google.com> | 2018-12-20 14:09:39 -0500 |
commit | 9494c45e75a55547f3f183a1161fbd39d29b994e (patch) | |
tree | bb2ad87a1942c67306b6c0cfc7eae4e01221801f /googlemock/scripts/generator/cpp/tokenize.py | |
parent | e26a3fa13ca21500773293946e92ec72f8d8c9ea (diff) | |
download | googletest-9494c45e75a55547f3f183a1161fbd39d29b994e.tar.gz googletest-9494c45e75a55547f3f183a1161fbd39d29b994e.tar.bz2 googletest-9494c45e75a55547f3f183a1161fbd39d29b994e.zip |
Googletest export
Use std::function to implement type erasure in Action, wrapping the legacy
ActionInterface if necessary.
This makes functors / std::function the primary way to implement Action; the
existing ActionInterface implementations are handled through ActionAdaptor.
The existing actions are not (yet) migrated though; they'll pay the cost of one
additional indirection - but that should be negligible.
PiperOrigin-RevId: 226126137
Diffstat (limited to 'googlemock/scripts/generator/cpp/tokenize.py')
0 files changed, 0 insertions, 0 deletions