std::experi...esource::get(3)
πΈ std::experimental::unique_resource::get β NAME π
okay so bestie, this page is literally about std::experimental::unique_resource::get π β that's the whole name, both halves, no notes. it lives in the C++ Standard Libary (their spelling, not mine, iykyk π«Ά) and it's a total little icon for grabbing the raw handle out of a unique_resource.
β¨ Synopsis β¨
here's the whole signature, keep it exactly as-is because it's precious:
const R& get() const noexcept; (library fundamentals TS v3)
the way this thing accesses the underlying resource handleβ¦ no cap, that's the entire job description π¦. it's const, it's noexcept, she's lowkey perfect.
π Parameters π
- (none) β yeah, zero parameters. she takes nothing, she needs nothing, main character energy fr fr π.
π Return value π
- The underlying resource handle. β that's it, that's the tea β. you ask, she hands you the handle, no drama, no exceptions, periodt.
π¦ Example π¦
so this section is literally incomplete π:
This section is incomplete Reason: no example
not me showing up to a manpage with no example π. anyway we move. π
β See also β
operator*β accesses the pointee if the resource handle is a pointer π― (yes, if β only when it's a pointer, don't come for me).operator->β public member function β¨.getβ returns a pointer to the managed object πΈ (public member function ofstd::unique_ptr<T,Deleter>) β a differentget, same name, iconic behavior π .
π Category π
- * Todo no example β the to-do list is to-doing, bestie π§
ngl the only real caveat here is that this is a library fundamentals TS v3 thing, so check your setup before you get too excited π₯
sign-off time π«Ά β this little beauty comes from http://cppreference.com, dated 2024.06.10, and it's filed under std::experi...esource::get(3) (yes the title is truncated in the middle, we love an abbreviation era π). catch you in the next section, mwah ππ
π¦ 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