Namespaces
Variants

std::copyable_function:: ~copyable_function

From cppreference.net
Utilities library
Function objects
Function invocation
(C++17) (C++23)
Identity function object
(C++20)
Old binders and adaptors
( until C++17* )
( until C++17* )
( until C++17* )
( until C++17* )
( until C++17* ) ( until C++17* ) ( until C++17* ) ( until C++17* )
( until C++20* )
( until C++20* )
( until C++17* ) ( until C++17* )
( until C++17* ) ( until C++17* )

( until C++17* )
( until C++17* ) ( until C++17* ) ( until C++17* ) ( until C++17* )
( until C++20* )
( until C++20* )
~copyable_function ( ) ;
(seit C++26)

Zerstört das std::copyable_function -Objekt. Wenn die std::copyable_function nicht leer ist, wird ihr Ziel ebenfalls zerstört.

Siehe auch

zerstört eine std::function Instanz
(öffentliche Elementfunktion von std::function<R(Args...)> )
zerstört ein std::move_only_function Objekt
(öffentliche Elementfunktion von std::move_only_function )