Tagged articles
3 articles
Page 1 of 1
php Courses
php Courses
Sep 4, 2025 · Fundamentals

Master C++11 Range-Based For Loops: Syntax, Benefits, and Best Practices

This article explains C++11's range‑based for loop, covering its concise syntax, advantages over traditional loops, how to modify elements with references, supported container types, the compiler's transformation, and practical best‑practice recommendations for safe and efficient iteration.

CC++11best practices
0 likes · 7 min read
Master C++11 Range-Based For Loops: Syntax, Benefits, and Best Practices
php Courses
php Courses
Jul 17, 2025 · Fundamentals

Master C++11 Range-Based for Loops: Simplify Your Iterations

This article explains C++11’s range-based for loop, covering its syntax, practical examples for arrays, vectors, maps, and how to use auto type deduction and references to modify elements, while highlighting its advantages over traditional loops and outlining suitable use cases and pitfalls.

CC++11STL
0 likes · 6 min read
Master C++11 Range-Based for Loops: Simplify Your Iterations
Deepin Linux
Deepin Linux
Jun 20, 2025 · Fundamentals

Unlock C++11: 10 Game‑Changing Features Every Developer Must Master

This article walks through the most impactful C++11 enhancements—including initializer lists, auto type deduction, decltype, smart pointers, lambda expressions, move semantics, range‑based for loops, nullptr, constexpr, type aliases, and the thread library—explaining their syntax, benefits, and practical usage with clear code examples.

C++11LambdaThread
0 likes · 27 min read
Unlock C++11: 10 Game‑Changing Features Every Developer Must Master