function-wrappers

Tag

Cards List
#function-wrappers

C++26: More function wrappers

Lobsters Hottest ↗ · 2026-05-20 Cached

C++26 introduces two new function wrappers: std::copyable_function, which provides a copyable, const-correct alternative to std::function, and std::function_ref, a non-owning callable reference with reference semantics.

0 favorites 0 likes
← Back to home

Submit Feedback