std::experi...il::release(3)
okay so bestie, you're on the std::experi...il::release(3) page from the C++ Standard Libary manual π (yes, that's the manual name, and we're keeping it exactly as it appears). This whole page is about the member that makes a scope_fail go inactive, and it's lowkey iconic.
πΈ NAME πΈ
std::experimental::scope_fail::release β std::experimental::scope_fail::release
That's the full name twice, just like the page says. No notes. Periodt.
β¨ Synopsis β¨
void release() noexcept; (library fundamentals TS v3)
Makes the scope_fail inactive.
Once a scope_fail is inactive, it cannot become active again, and will not call its exit function on destruction. That's the whole ruleset, bestie β no reactivation era.
π Parameters π
(none). Literally nothing to pass in, bestie β the parameter list is empty.
π Return value π
(none). It returns nothing. The void is not playing around.
π¦ Notes π¦
release may be either manually called or automatically called by scope_fail's move constructor. So you can call it yourself, or the move constructor can handle it β either way, the page says it's a thing.
π Example π
This section is incomplete Reason: no example
π no example, bestie.
π See also π
- constructor β constructs a new
scope_fail(public member function). - destructor β calls the
exitfunction when the scope is exited via an exception if thescope_failis active, then destroys thescope_fail(public member function).
π Category: π
- Todo no example
π«Ά That's the whole page, bestie. Source: http://cppreference.com Β· Version/date: 2024.06.10 Β· Page: std::experi...il::release(3). Bye! π
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms