std::experi...ess::release(3)
π NAME π
okay so bestie, this page is from the C++ Standard Libary manual (yes, that spelling is the manual's spelling, typo and all π), and the page title is std::experi...ess::release(3). The NAME is std::experimental::scope_success::release β yep, literally std::experimental::scope_success::release, the release member of std::experimental::scope_success. no cap, that's the whole name vibe π
πΈ Synopsis πΈ
void release() noexcept; (library fundamentals TS v3)
β¨ What it does: it makes the scope_success inactive. That's the whole job.
Once a scope_success is inactive, it cannot become active again, and it will not call its exit function on destruction. fr fr, inactive means inactive π
π§ Parameters π§
(none) β zero parameters, bestie π«Ά
π¦ Return value π¦
(none) β nothing comes back, not even a little π
π Notes π
release may be either manually called or automatically called by scope_success's move constructor. iykyk π₯
π Example π
This section is incomplete. Reason: no example π
π See also π
constructorβ constructs a newscope_success(public member function) π¦destructorβ calls the exit function when the scope is exited normally if thescope_successis active, then destroys thescope_success(public member function) π
π Category π
Todo no example
π source/version + date: http://cppreference.com, 2024.06.10, page std::experi...ess::release(3) β mwah bestie, go be iconic πβ¨
π¦ 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