Tagged articles
2 articles
Page 1 of 1
php Courses
php Courses
Sep 8, 2025 · Fundamentals

Mastering C++ Move Semantics: From Lvalues to Efficient Resource Transfer

This article explains C++11 move semantics, covering the distinction between lvalues and rvalues, the role of rvalue references, how std::move enables resource stealing, and how to implement move constructors and move assignment operators for high‑performance code.

CResource Managementmove semantics
0 likes · 11 min read
Mastering C++ Move Semantics: From Lvalues to Efficient Resource Transfer
IT Services Circle
IT Services Circle
Feb 5, 2022 · Fundamentals

Understanding && in C++: Rvalue References, Forwarding References, and Their Use as Function Parameters

The article explains the different meanings of the && operator in C++—as a true rvalue reference in non‑template functions, as a forwarding (universal) reference in templates, and its behavior when binding to function return values—illustrated with code examples and practical guidelines.

C++Function Parametersforwarding reference
0 likes · 5 min read
Understanding && in C++: Rvalue References, Forwarding References, and Their Use as Function Parameters