std::experi...tr::release(3)
π NAME π
std::experimental::observer_ptr::release - std::experimental::observer_ptr::release
Okay so this is the page for std::experimental::observer_ptr::release β yes, the whole name, we are not shortening it, she is iconic. This manual page comes from the C++ Standard Libary manual (keeping that exact spelling, bestie π
), and the page title is std::experi...tr::release(3). Buckle up. π¦
β¨ Synopsis β¨
constexpr element_type* release() noexcept;
(library fundamentals TS v2)
This one is lowkey simple: stop watching the watched object, if any. After the call, get() returns nullptr. That's the whole vibe. π«Ά
π Parameters π
(none) β literally none. No parameters. Zero. Empty list. You don't pass anything in, bestie. π
π¦ Return value π¦
You get a pointer to the previously watched object, or nullptr if there was no watched object, i.e. the value which would be returned by get() before the call. That's the tea. π
π Example π
This section is incomplete. Reason: no example.
Not me crying because there is literally no example here. The page says it is incomplete for that exact reason, bestie. π
π₯ See also π₯
getβ returns a pointer to the watched object (public member function) πresetβ replaces the watched object (public member function) β¨
π Category π
* Todo no example
Source/version/date sign-off: this page is from http://cppreference.com, version/date 2024.06.10, and the title is std::experi...tr::release(3). Stay iconic, bestie β bye! πβ¨π
π¦ 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