Namespaces
Variants

std::move_only_function:: ~move_only_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* )
~move_only_function ( ) ;
(начиная с C++23)

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

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

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