std::move_o...nction::swap(3)
π std::move_only_function::swap π
okay bestie, welcome to the C++ Standard Libary manual page for std::move_only_function::swap β yes, thatβs the manual name up top, and weβre keeping it cute and exact ππ
β¨ NAME β¨
std::move_only_function::swap β std::move_only_function::swap
π« Synopsis π«
void swap( move_only_function& other ) noexcept; (since C++23)
Exchanges the stored callable objects of *this and other. literally swapping the stored callables, no cap π
β¨
π Parameters π
otherβ function wrapper to exchange the stored callable object with π«Ά
π¦ Return value π¦
(none) β no return value, it just does the swap and leaves πΈ
π₯ See also π₯
swapβ swaps the contents (public member function ofstd::function<R(Args...)>) π
source: http://cppreference.com β’ version/date: 2024.06.10 β’ page: std::move_o...nction::swap(3) π«Άπβ¨
π¦ 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