deductiongu...ue_resource(3)
okay bestie, welcome to the deductiongu...ue_resource(3) page β yes, the manual name is literally truncated like that, and it lives in the C++ Standard Libary corner of the world (their spelling, not mine, we keep it π
). It's all about deduction guides for std::experimental::unique_resource, and it's gonna be cute and factual.
π NAME π
deductionguidesforstd::experimental::unique_resource β and then the NAME line says it again: deductionguidesforstd::experimental::unique_resource. That's the whole name, bestie. π«Ά
πΈ Synopsis πΈ
Okay so this guide is defined in the header <experimental/scope> β write that down. β¨
It's a template, and here's the exact shape:
template< class R, class D >
unique_resource( R, D ) -> unique_resource<R, D>;
That's (library fundamentals TS v3) β keeping the exact wording, no cap. π
One deduction guide is provided for std::experimental::unique_resource to permit deduction from the given resource handle and deleter. That's literally its job. π
The arguments β after array-to-pointer and function-to-pointer decay, if any β are copied or moved into the constructed unique_resource. That's the tea. π΅
π Example π
This section is incomplete.
Reason: no example
That's it. No example yet, bestie. π
π¦ Category π¦
- Todo no example
and that's the page! cute sign-off time: source/version is http://cppreference.com, dated 2024.06.10, and the footer manual name is deductiongu...ue_resource(3). 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