Tagged articles
7 articles
Page 1 of 1
IT Services Circle
IT Services Circle
Mar 8, 2026 · Fundamentals

Why C++17 Fold Expressions Turn Variadic Templates into One‑Liners

This article explains how C++17 fold expressions replace verbose recursive variadic template tricks with concise one‑line constructs, covering their four syntactic forms, practical examples such as summing, printing, compile‑time checks, and common pitfalls to avoid.

C++17Code OptimizationFold Expressions
0 likes · 14 min read
Why C++17 Fold Expressions Turn Variadic Templates into One‑Liners
php Courses
php Courses
Sep 5, 2025 · Fundamentals

Mastering C++ Lambdas: From Basics to Advanced Techniques

This article explains what C++ lambda expressions are, their syntax, capture mechanisms, mutable keyword, return type deduction, generic and template lambdas, and demonstrates practical uses with STL algorithms, event handling, and asynchronous programming, while offering best‑practice guidelines.

Anonymous FunctionsC++11C++14
0 likes · 12 min read
Mastering C++ Lambdas: From Basics to Advanced Techniques
Deepin Linux
Deepin Linux
Jun 20, 2025 · Fundamentals

Unlock C++17: 21 Powerful Language Features That Simplify Modern Coding

This article walks through the most useful C++17 enhancements—including structured bindings, if‑constexpr, fold expressions, inline variables, class‑template argument deduction, new standard‑library types like std::optional, std::variant, std::string_view, parallel algorithms, and numeric utilities—showing how each feature reduces boilerplate and improves performance with clear code examples.

C++17Fold ExpressionsParallel Algorithms
0 likes · 43 min read
Unlock C++17: 21 Powerful Language Features That Simplify Modern Coding
Liangxu Linux
Liangxu Linux
Apr 20, 2025 · Fundamentals

Master the Latest C++ Features: From Auto to Coroutines (C++11‑C++20)

This article provides a concise overview of the most commonly used new features introduced in C++11 through C++20, including auto type deduction, range‑based for loops, smart pointers, lambda expressions, move semantics, structured bindings, concepts, ranges, coroutines, the spaceship operator, and more, with clear code examples.

C++C++11C++14
0 likes · 6 min read
Master the Latest C++ Features: From Auto to Coroutines (C++11‑C++20)
IT Services Circle
IT Services Circle
Mar 11, 2025 · Fundamentals

Ten Modern C++ Features to Boost Readability, Maintainability, and Performance

This article introduces ten widely used modern C++ features—including range‑based for loops with initializers, structured bindings, inline variables, std::optional, std::variant, std::visit, constexpr if, default/delete functions, [[nodiscard]] and std::string_view—explaining their benefits and providing concise code examples.

C++C++17C++20
0 likes · 14 min read
Ten Modern C++ Features to Boost Readability, Maintainability, and Performance
Tencent Cloud Developer
Tencent Cloud Developer
May 26, 2022 · Fundamentals

Top 10 Most Useful C++17 Features for Real‑World Code

After a year of using C++17 in production, the author lists the ten most practical language features—grouped into syntax sugar, performance boosts, and type‑system enhancements—explaining their benefits, pitfalls, and providing concrete code examples for each.

C++17performancestd::any
0 likes · 14 min read
Top 10 Most Useful C++17 Features for Real‑World Code