MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / Deferred

Method Deferred

Libraries/Common/Deferred.h:26–26  ·  view source on GitHub ↗

@brief Constructs Deferred object with a functor F

Source from the content-addressed store, hash-verified

24{
25 /// @brief Constructs Deferred object with a functor F
26 Deferred(F&& f) : f(forward<F>(f)) {}
27
28 /// @brief Invokes the function F upon destruction, if disarm() has not been previously called.
29 ~Deferred()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected