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

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

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 exit function when the scope is exited via an exception if the scope_fail is active, then destroys the scope_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