Easy Binary Compatible C++ Interfaces Across Compilers
Explore easy binary compatible C++ interfaces across compilers in this CppNow conference talk. Dive into the challenges of C++ interoperability and discover a solution that leverages C++11 features to create user-friendly, compiler-agnostic binary interfaces. Learn how to define interfaces once for both implementation and usage, utilize standard C++ containers, support real return types and exceptions, achieve COM binary compatibility, and enable interface and implementation inheritance. Examine the design and implementation of a library that addresses these issues without external tools, tested on Windows and Linux with various compilers. Gain insights into implementing key features, discuss trade-offs, and explore different approaches to improve C++ component interoperability across multiple build systems and compiler versions.