Subobject Polymorphic Overlay Pattern -- Félix-Olivier Dumas
Félix-Olivier Dumas describes the Subobject Polymorphic Overlay Pattern (SPO), an experimental C++ idiom for static polymorphism. Rather than having the implementation inherit from an interface, the interface acts as a selective view over an independent implementation. The goal is zero-overhead compile-time polymorphism that avoids some drawbacks of CRTP and std::variant approaches, with trade-offs stated explicitly.
AI-written summary, checked against the cited sources. How summaries work