std::experi...rce::release(3)
πΈ NAME πΈ
okay so bestie, this iconic page is std::experi...rce::release(3) from the C++ Standard Libary β yes, that spelling is literally what the header says, iykyk. π
Officially the NAME block is:
std::experimental::unique_resource::release -
std::experimental::unique_resource::release
So yeah, it's double-named: std::experimental::unique_resource::release and then std::experimental::unique_resource::release again. double name, double slay, no cap. π
β¨ Synopsis β¨
void release() noexcept; (library fundamentals TS v3)
This one releases the ownership of the managed resource if any. After the call, the destructor will not execute the deleter β unless reset is called later for managing new resource. periodt. π
Unlike std::unique_ptr::release, this function is not required to modify the stored resource handle. That's the important caveat, bestie β don't assume the handle changes. π«Ά
π Parameters π
(none) β literally zero parameters, not a single one. π
π¦ Return value π¦
(none) β it returns nothing. no value, no drama. π¦
πΈ Example πΈ
This section is incomplete. Reason: no example. π
not me bringing you a whole page with no example, but that's literally what it says. π
π See also π
releasereturns a pointer to the managed object and releases the ownership (public member function ofstd::unique_ptr<T,Deleter>).
π Category π
* Todo no example
okay that's the whole vibe! this page comes from http://cppreference.com, dated 2024.06.10, and the footer says std::experi...rce::release(3). mwah, go slay your resource ownership 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