These 10 Tricks That Only Library Implementors Know
Discover advanced C++ coding techniques used by library implementors in this ACCU Conference talk. Explore subtle idioms and tricks employed in standard library implementations, including Empty Base Class Optimization, classes with deleted copy/move semantics, allocator-managed objects, exception safety, and multiple feature implementations with input-based dispatching. Learn how to write robust generic code as speakers Marshall and Jonathan delve into topics such as No Unique Address, No Unique Pointer, Construct from Anything, Constraints, Template metaprogramming, Common type traits, Generic options, Copy constructors, Default constructors, Special members, Explicit constructors, and Unique pointers. Gain valuable insights to enhance your C++ programming skills and understand the intricacies of library development.