class Cleanup

Defined at line 1393 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h

A generic RAII type that runs a user-provided function in its destructor.

Public Methods

void Cleanup (std::function<void ()> f)

Defined at line 1395 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h

void ~Cleanup ()

Defined at line 1396 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h