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 の公開メンバ関数)