CppCon 2014 has ended
Back To Schedule
Thursday, September 11 • 9:00am - 10:00am
Polymorphism with Unions

Log in to save this to your schedule, view media, leave feedback and see who's attending!

Using tagged unions to create families of polymorphic types that are more flexible and more easily maintained than those formed with inheritance alone. We demonstrate the design pattern and implementation techniques of sum types with examples from a compiler development project. We also examine the technique's impact on project management and engineering and on algorithm design, including the role of type switches, value type semantics, and multiple dispatch polymorphism.


Jason Lucas

Architect, Orly Atomics
Jason Lucas is an alum of the Microsoft Visual C++ team and has been writing extensively in C++ since the early 90s. He is the architect for Orly, an open source, large-scale, distributed, transactional, and consistent graph database (all in C++) which also includes a compiler for... Read More →

Thursday September 11, 2014 9:00am - 10:00am PDT

Attendees (0)