|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Old binders and adaptors | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
explicit operatorbool()constnoexcept; | (since C++26) | |
Checks whether*this stores a callable target, i.e. is not empty.
Contents |
(none)
true if*this stores a callable target,false otherwise.
| This section is incomplete Reason: no example |
(C++26) | compares astd::copyable_function withnullptr(function)[edit] |
| checks if a target is contained (public member function of std::function<R(Args...)>)[edit] | |
checks if thestd::move_only_function has a target(public member function of std::move_only_function)[edit] |