deductiongu...::scope_exit(3)

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

πŸŽ€ deduction guides for std::experimental::scope_exit πŸŽ€

okay so bestie, welcome to the deductiongu...::scope_exit(3) page from the C++ Standard Libary (yes, the header really spells it like that, bestie). It's giving β€œdeduction guides for std::experimental::scope_exit,” and honestly it's lowkey short but highkey useful, so we can absolutely crush it. πŸ’…

✨ NAME ✨

deductionguidesforstd::experimental::scope_exit β€” deductionguidesforstd::experimental::scope_exit

🌸 Synopsis 🌸

Defined in header <experimental/scope>

template< class EF >                    (library fundamentals TS v3)
scope_exit(EF) -> scope_exit<EF>;

There is one deduction guide provided for std::experimental::scope_exit, and its whole job is to permit deduction from an argument of function or function object type. 🫢

That argument β€” after function-to-pointer decay, if any β€” is copied or moved into the constructed scope_exit. No cap, that's the move. periodt. ✨

πŸ’– Example πŸ’–

This section is incomplete. Reason: no example.

πŸ’€ Category πŸ’€

  • Todo no example

k bye ily 🫢 β€” huge shoutout to the source/version http://cppreference.com, the date 2024.06.10, and the page tag deductiongu...::scope_exit(3) for keeping the receipts. πŸŽ€

πŸ“¦ where this page comes from