scope |
Defined in
<scope.hpp> |
Explicitly scope the lifetime of an object
(1) | ||
(2) |
(1)
Workaround until VS2017 bug is fixed
Parameters
(2)
Scopes the lifetime of an instance of T
. All but the last parameters are used to construct T
, while the last parameter is assumed to be a nullary function, and is called. After the nullary function goes out of scope, T
is destroyed.