Explore a comprehensive conference talk on yomm2, a library implementing open methods in C++. Delve into the concept of open methods as virtual functions defined outside of a class, allowing for the addition of polymorphic behavior to existing class hierarchies without modification. Learn how open methods provide a superior alternative to the Visitor pattern, solve cross-cutting concerns, and address the binary (or multiple) dispatch problem. Discover the advantages of yomm2 over its predecessor yomm11, including faster performance and no need for class instrumentation. Gain insights from Jean-Louis Leroy, Senior Software Engineer at Bloomberg LP, on how open methods can simplify code, improve separation of concerns, and enhance performance in C++ programming.
Overview
Syllabus
yomm2: Fast, Orthogonal, Open Methods in a Library - Jean-Louis Leroy - C++Now 2018
Taught by
CppNow