Get 20% off all career paths from fullstack to AI
AI, Data Science & Business 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 C++ value categories in this comprehensive conference talk from C++ on Sea 2025, where you'll master the fundamental concepts of lvalues, rvalues, xvalues, glvalues, and prvalues that form the foundation of modern C++ programming. Dive deep into the mechanics of reference binding, std::move, std::forward, and temporary materialization to understand why common mistakes occur and how to avoid them. Learn why std::move sometimes calls the copy constructor instead of the move constructor, discover when the compiler materializes temporaries and how this affects overload resolution and constructor selection, and understand how value categories influence move semantics, copy elision, and performance optimization. Gain practical insights into writing cleaner, safer, and faster C++ code through clear explanations of these often-confusing concepts, with real-world examples that demonstrate how proper understanding of value categories can prevent common programming errors. Master the rules governing these fundamental C++ concepts to build more efficient high-performance applications, particularly valuable for systems programming, financial software, and performance-critical codebases where understanding move semantics and temporary object behavior is essential for optimal performance.
Syllabus
Understanding C++ Value Categories: lvalue, rvalue, xvalue, std::move, std::forward & Best Practices
Taught by
cpponsea