Learn Backend Development Part-Time, Online
Launch a New Career with Certificates from Google, IBM & Microsoft
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Explore the intricacies of C++ friendship in this comprehensive 57-minute conference talk from CppCon 2025. Delve into the nuances of the friend keyword, examining its role in code design, testing, and compilation performance optimization while uncovering its benefits and potential pitfalls. Learn how friendship affects name lookup and compile-time error messages, discover best practices for leveraging friendship effectively, and understand how to avoid or resolve compilation problems when C++ templates are involved. Master the art of using friendship to write more elegant, efficient, and maintainable C++ code through practical examples and expert insights from a seasoned software architect with over 20 years of C++ experience and active participation in the ISO C++ Committee.
Syllabus
Back to Basics: Master C++ Friendship - Mateusz Pusz - CppCon 2025
Taught by
CppCon