std::experi...it::release(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

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_exit is active, then destroys the scope_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