std::function::~function(3)
okay bestie, welcome to std::function::~function(3) from the C++ Standard Libary manual π
this is the destructor page and itβs lowkey iconic in its simplicity.
β¨ NAME β¨
std::function::~function β yep, thatβs literally std::function::~function, the name ate and left no crumbs π
πΈ Synopsis πΈ
~function(); (since C++11)
So whatβs the vibe? It destroys the std::function instance. And if the std::function is not empty, its target is destroyed also. Thatβs the whole plot, no extra twists π«Ά
π See also π
- destructor (
C++23) β destroys astd::move_only_functionobject (public member function ofstd::move_only_function)
π source: http://cppreference.com Β· version/date: 2024.06.10 β thatβs the footer, bestie, and weβre out. Go destroy your targets and stay iconic π
β¨π
π¦ 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