Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.
Syllabus
Introduction
What is a microcontroller
How to write bare metal drivers
The basic strategy
The guts
Implementation
Upon initialization
Fixed Vector
Continuous Control Blocks
Dynamic Mixins
Debug Builds
Iterator Validity
Production Guidelines
Other Containers
Questions
Pack Expansion
Big Red Button
Qt
Taught by
CppNow