C++ Mixins - Customization Through Compile Time Composition
Explore the concept of C++ mixins and compile-time composition for customizable abstractions in this conference talk from C++Now 2018. Delve into the challenges of working with 'special cases' in embedded systems and the limitations of standard library components. Learn how to build classes from composable pieces, addressing common customization needs such as small buffer optimizations, error handling without exceptions, and tailored data structures. Examine concrete proof of concepts and the necessary library infrastructure for implementing mixins. Discover techniques for creating flexible, efficient code that can adapt to various use cases, from single-threaded environments to specialized container implementations. Gain insights into potential solutions for customizing standard library components and handling diverse requirements in C++ programming.