Registry / utility / boost-scope-exit

boost-scope-exit

JSON →
library1.90.0vcpkgunverified

Boost scope_exit module provides a macro to execute code at scope exit.

vcpkg install boost-scope-exit
INSTALL
IMPORT
SIG · BOOST-SCOPE-EXIT
B
boost-scope-exit
utilitycppv1.90.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

boost/scope_exit.hpp
#include <boost/scope_exit.hpp>

Basic usage of Boost.ScopeExit

#include <boost/scope_exit.hpp> #include <cstdio> int main() { FILE* f = fopen("test.txt", "w"); BOOST_SCOPE_EXIT(f) { fclose(f); } BOOST_SCOPE_EXIT_END return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.90.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Meta
1
Resources

No resource links recorded.

boost-scope-exit — pip install boost-scope-exit · libregistry