From Jason Turner
Watch on YouTube

Summary

This episode introduces std::bind_front, a new functional utility coming in C++20. Jason explains how bind_front is a simpler and more focused alternative to the older std::bind, allowing developers to bind only the first N arguments of a callable. The episode demonstrates how bind_front works with practical examples, showing its usage with functions requiring multiple parameters and how the compiler can effectively optimize the generated code.

Resources

Tags