deductiongu...ue_resource(3)

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

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