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

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

πŸ’– 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 new scope_success (public member function) πŸ¦‹
  • destructor β€” calls the exit function when the scope is exited normally if the scope_success is active, then destroys the scope_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