From Jason Turner
Watch on YouTube

Summary

This episode explores C++23's bind_back function, a utility that binds arguments to the end of a callable object's parameter list. Jason demonstrates how bind_back complements the existing bind_front by enabling partial function application from the opposite direction. He showcases practical examples using member functions, algorithms, and ranges while also providing a clear implementation of bind_back using modern C++ features like generalized lambda captures and parameter pack forwarding.

Resources

Tags