2
0
mirror of https://github.com/boostorg/scope.git synced 2026-01-19 04:42:10 +00:00

Wording improvement in the docs.

This commit is contained in:
Andrey Semashev
2025-05-13 01:18:07 +03:00
parent cf346ba9aa
commit c1a41db7a6

View File

@@ -510,8 +510,8 @@ lightweight version of `std::unique_lock`.]
Since [class_scope_defer_guard] effectively provides no interface to interact with after construction, it is better suited for anonymous
"set up and forget" kind of scope guards. To emphasize this affinity, the library provides a `BOOST_SCOPE_DEFER` macro, which acts as
a keyword defining a uniquely named [class_scope_defer_guard] scope guard. The macro should be followed by the function object to be
invoked on scope exit.
a keyword defining a uniquely named [class_scope_defer_guard] object. The macro should be followed by the function object to be invoked
on scope exit.
BOOST_SCOPE_DEFER []
{