San Francisco: Classical polymorphism and generic programming


Details
This week Arthur O'Dwyer will speak on monomorphism, classical polymorphism, and generic programming. When is a classically polymorphic approach appropriate, and when should you use template-based generic programming? We'll show how to make a classical wrapper for a generic concept (such as C++17's std::pmr::memory_resource (http://en.cppreference.com/w/cpp/memory/memory_resource)) and vice versa (such as C++17's std::pmr::polymorphic_allocator (http://en.cppreference.com/w/cpp/memory/polymorphic_allocator)); and how to reconcile heap-allocated classical OO objects and value semantics via the use of type erasure (such as C++17's std::function and std::any (http://en.cppreference.com/w/cpp/utility/any)).
Arthur O'Dwyer spent five years in the compiler group at Green Hills Software. He has presented at CppCon, C++Now, and Silicon Valley Code Camp. He is currently writing a book on the C++17 standard library.

Sponsors
San Francisco: Classical polymorphism and generic programming