2
0
mirror of https://github.com/boostorg/scope.git synced 2026-01-26 07:02:09 +00:00
Andrey Semashev fbfdb8a494 Merged scope_check into scope_exit.
As suggested by Peter Dimov on boost-dev ML, scope_check functionality
is merged into scope_exit. Thus scope_exit now has an optional condition
function object, which by default always returns true. If a custom
function object is specified, scope_exit works equivalently to the
previous scope_check, i.e. calls the condition function object to check
whether the action function object needs to be called.
2023-10-14 19:23:32 +03:00
2023-10-14 19:23:32 +03:00
2023-10-14 19:23:32 +03:00
2023-02-24 19:30:55 +03:00
2023-03-22 03:48:11 +03:00
2023-01-10 02:02:00 +03:00

Boost.Scope

Boost.Scope provides a number of scope guard utilities described in C++ Extensions for Library Fundamentals, Version 3, Section 3.3 Scope guard support [scopeguard]. The implementation also provides a few non-standard extensions.

This library is currently proposed for review and potential inclusion into Boost.

Directories

  • doc - QuickBook documentation sources
  • include - Interface headers of Boost.Scope
  • test - Boost.Scope unit tests

More information

  • Read the documentation.
  • Report bugs. Be sure to mention Boost version, platform and compiler you're using. A small compilable code sample to reproduce the problem is always good as well.
  • Submit your patches as pull requests against develop branch. Note that by submitting patches you agree to license your modifications under the Boost Software License, Version 1.0.

License

Distributed under the Boost Software License, Version 1.0.

Description
Mirrored via gitea-mirror
Readme BSL-1.0 398 KiB
Languages
C++ 98.8%
CMake 1%
HTML 0.2%