All Callable Wrappers and Adapters
All Callable Wrappers and Adapters
A compact scan page for invocation utilities, function wrappers, adapters, and callable helper types in the standard library.
All Callable Wrappers and Adapters
A compact scan page for invocation utilities, function wrappers, adapters, and callable helper types in the standard library.
Use reference pages to confirm names, categories, nearby facilities, and the constraints that matter before writing or reviewing code.
std::invokestd::invoke_rstd::mem_fnstd::functionstd::move_only_functionstd::copyable_functionstd::function_ref is not in the standard library as of C++23std::bindstd::bind_frontstd::not_fnstd::reference_wrapper<T>std::refstd::crefstd::plus, std::minus, std::multipliesstd::less, std::greater, std::equal_tostd::logical_and, std::logical_or, std::logical_notstd::bit_and, std::bit_or, std::bit_xorstd::bind for readability.std::function in hot paths.int main() {
// Pick one facility from this reference page.
// Write the smallest program that exercises its main precondition,
// complexity rule, or lifetime constraint before scaling up.
return 0;
}