Homec4science

Googletest export

Authored by Abseil Team <absl-team@google.com> on Dec 19 2018, 09:16.

Description

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

Details

Committed
Mark Barolak <mbar@google.com>Dec 20 2018, 20:09
Pushed
trottetDec 4 2019, 13:52
Parents
R9484:e26a3fa13ca2: Googletest export
Branches
Unknown
Tags
Unknown

Event Timeline

Mark Barolak <mbar@google.com> committed R9484:9494c45e75a5: Googletest export (authored by Abseil Team <absl-team@google.com>).Dec 20 2018, 20:09