Emulation of SCOPE_EXIT construct from C++
10.81 KB
built 2026-10-17 04:04:10 GMT
Description
This simple class provides an implementation of C++'s SCOPE_EXIT, or GoLang's
defer.
To use, assign an instance of this object to a local variable. When that
variable falls out of scope (or is explicitly unset), the callback passed
to the constructor will be invoked. This is useful, for example, to aid
cleanup at the end of a function.
Autoloader: /usr/share/php/PhpLang/scope-exit-autoload.php
Dependencies
8 totalRequires6
- php(language)
- php-composer(fedora/autoloader)
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(PayloadFilesHavePrefix) <= 4.0-1
- rpmlib(PayloadIsZstd) <= 5.4.18-1
Provides2
- php-composer(phplang/scope-exit) = 1.0.0
- php-phplang-scope-exit = 1.0.0-17.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
8
Files 1–8 of 8
Component of
buildroots that installed this RPMBuildroot ![]() |
Created | State |
|---|---|---|
| f45-build-28489-629 | 2026-10-17 04:35:07 | expired |
| f45-build-28482-629 | 2026-10-17 04:35:04 | expired |
Buildroots 1–2 of 2

