Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the implementation strategies and performance implications of std::any in this comprehensive conference talk from ACCU 2022. Delve into the various choices for implementing this type-erasing container, examining their impact on future evolution, ABI restrictions, and potential for constexpr support. Analyze the performance trade-offs, compile-time effects, and code inclusion requirements of different implementation approaches. Discover how C++20 modules may influence these considerations. Witness the presentation of multiple complete std::any implementations and review micro-benchmark results within the 90-minute session. Gain valuable insights from Alisdair Meredith, a seasoned C++ committee member and software developer at BloombergLP, as he shares his expertise on this fundamental standard library component.