std::experi...it::release(3)
okay so bestie, welcome to the C++ Standard Libary page for std::experimental::scope_exit::release π
β¨ this one is short, iconic, and lowkey all about turning a scope_exit off.
πΈ NAME πΈ
std::experimental::scope_exit::release β std::experimental::scope_exit::release
β¨ Synopsis β¨
void release() noexcept; (library fundamentals TS v3)
Makes the scope_exit inactive. π«Ά
Once a scope_exit is inactive, it cannot become active again, and will not call its exit function on destruction. periodt.
π Parameters π
(none)β nothing to hand in here, bestie.
π Return value π
(none)β it gives you nothing back.
π¦ Notes π¦
release may be either manually called or automatically called by scope_exit's move constructor. no cap.
π Example π
This section is incomplete Reason: no example
it's giving βno example yetβ energy π but that's literally what it says.
π See also π
- constructor β constructs a new
scope_exit(public member function) - destructor β calls the exit function when the scope is exited if the
scope_exitis active, then destroys thescope_exit(public member function)
π Category π
Todo no example
mwah π source/version: http://cppreference.com, date: 2024.06.10, and the footer title is std::experi...it::release(3) β that's the whole cute little manual page, bestie π
π¦ 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