template <typename F>
class Cleanup
Defined at line 1692 of file ../../third_party/boringssl/src/crypto/fipsmodule/sha/../../internal.h
Cleanup implements a custom scope guard, when the cleanup logic does not fit
in a destructor. Usage:
bssl::Cleanup cleanup = [
&
] { SomeCleanupWork(local_var); };
Public Methods
void Cleanup<F> (F func)
Defined at line 1697 of file ../../third_party/boringssl/src/crypto/fipsmodule/sha/../../internal.h
void Cleanup<F> (const Cleanup<F> & )
Defined at line 1698 of file ../../third_party/boringssl/src/crypto/fipsmodule/sha/../../internal.h
Cleanup<F> & operator= (const Cleanup<F> & )
Defined at line 1699 of file ../../third_party/boringssl/src/crypto/fipsmodule/sha/../../internal.h
void ~Cleanup<F> ()
Defined at line 1700 of file ../../third_party/boringssl/src/crypto/fipsmodule/sha/../../internal.h