次の方法で共有


Delegate DestructorHookDelegate

using DestructorHookDelegate = std::function<void()>;

Applications use this type when registering events.

For more information on std::function, see the reference for function class.