This conference talk from CppCon 2024 explores the limitations and challenges of using std::function, std::packaged_task, std::apply, and similar constructs in modern C++ development. Discover how these seemingly useful tools can introduce performance overheads through unnecessary copies and moves of captured member variables, leading to increased complexity and unexpected behavior. Learn from practical examples and common pitfalls encountered in real-world applications as presenter Amandeep Chawla, a Senior Computer Scientist at Adobe with over 20 years of C++ experience, shares insights gained from working on complex systems. Gain valuable knowledge about an alternative approach developed to mitigate these issues, offering a more efficient and reliable solution for C++ developers working on performance-critical applications.
Overview
Syllabus
Modern C++ Development: Limitations and Problems in std::function and Similar Constructs - CppCon 24
Taught by
CppCon