• Abseil Team's avatar
    Googletest export · 9494c45e
    Abseil Team authored
    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
    9494c45e
gmock-actions.h 42.2 KB