Tagged articles

Fold Expressions

2 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++C++17Fold Expressions
0 likes · 14 min read
Why C++17 Fold Expressions Turn Variadic Templates into One‑Liners
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