copyable-function

Tag

Cards List
#copyable-function

Interconverting std::function with copyable_function

Lobsters Hottest · 4d ago Cached

Technical analysis of the interconversion between std::function and std::copyable_function in C++26, discussing implementation approaches and performance trade-offs, with specific note that libstdc++ currently uses a less optimal approach.

0 favorites 0 likes
#copyable-function

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