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 ( ) ;
(начиная с C++26)

Уничтожает объект std::copyable_function . Если std::copyable_function не пуст, его целевой объект также уничтожается.

Смотрите также

уничтожает экземпляр std::function
(публичная функция-член std::function<R(Args...)> )
уничтожает объект std::move_only_function
(публичная функция-член std::move_only_function )