std::move only function

GPTKB entity

Statements (28)
Predicate Object
gptkbp:instanceOf C++ class template
gptkbp:alternativeTo std::function
gptkbp:canBeEmpty true
gptkbp:copySemantics non-copyable
gptkbp:definedIn C++23 standard
gptkbp:emptyState invoking throws std::bad_function_call
gptkbp:function target
reset
swap
operator bool
operator()
target_type
gptkbp:headerFile <functional>
https://www.w3.org/2000/01/rdf-schema#label std::move only function
gptkbp:introducedIn gptkb:C++23
gptkbp:moveSemantics move-only
gptkbp:namespace std
gptkbp:parameter Function signature
gptkbp:purpose type-erased move-only callable wrapper
gptkbp:relatedStandard https://en.cppreference.com/w/cpp/utility/move_only_function
gptkbp:supports functors
function pointers
lambdas
gptkbp:uses coroutines
asynchronous programming
callback storage
gptkbp:bfsParent gptkb:C++23
gptkbp:bfsLayer 6