MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / FinalAction

Method FinalAction

InsightsHelpers.h:322–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320{
321public:
322 explicit FinalAction(T&& action)
323 : mAction{std::forward<T>(action)}
324 {
325 }
326
327 ~FinalAction() { mAction(); }
328

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected