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 ( ) ;
(desde C++23)

Destruye el objeto std::move_only_function . Si el std::move_only_function no está vacío, su objetivo también se destruye.

Véase también

destruye una instancia de std::function
(función miembro pública de std::function<R(Args...)> )