---
title: "Discussion on \"Folding expressions in C++\" | Hashnode"
description: "Discussion on \"Folding expressions in C++\". Welcome to the next pikoTutorial!\nWhat is a folding expression?\nImagine that you have a vector of integers and you need to add some predefined values to it. The  obvious choice seems to be just using push_back() function applied a couple of times:\n# ..."
url: "https://hashnode.com/posts/folding-expressions-in-c/68a6c409a591b8c13c7a828a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Folding expressions in C++](https://pikotutorial.hashnode.dev/folding-expressions-in-c?utm_source=hashnode&utm_medium=feed)

Welcome to the next pikoTutorial! What is a folding expression? Imagine that you have a vector of integers and you need to add some predefined values to it. The obvious choice seems to be just using push\_back() function applied a couple of times: # ...

Aug 21, 2025 · 2 min read · pikotutorial.hashnode.dev  
Read the article

-   [#cpp](https://hashnode.com/tag/cpp)
-   [#pikotutorial](https://hashnode.com/tag/pikotutorial)

## Written by

[pikoTutorial](https://hashnode.com/@pikotutorial)

@pikotutorial

  
[View profile](https://hashnode.com/@pikotutorial)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
