Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Back to Basics - Master C++ Friendship

CppCon via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
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

Reviews

Start your review of Back to Basics - Master C++ Friendship

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.