Explore modern C++ API design principles in this comprehensive conference talk from C++Now 2018. Delve into updated guidelines for parameter passing, function design, and type creation in light of C++11 features like rvalue references and reference qualification. Learn how to effectively express "maybe move" APIs, utilize reference-qualified overload sets, and understand the implications of rvalue-reference qualified methods. Examine the evolution of type design in recent C++ releases, including move-only types like unique_ptr and reference semantic types like string_view. Gain insights into creating consistent and valuable type designs for the modern C++ era. Discover a new taxonomy of type properties to guide discussions on optimal type design families. Benefit from the expertise of Titus Winters, a Google C++ expert, as he shares strategies for maintaining large-scale codebases and ensuring long-term flexibility and consistency in C++ projects.
Overview
Syllabus
C++Now 2018: Titus Winters “Modern C++ API Design: From Rvalue-References to Type Design”
Taught by
CppNow