Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

New Exercise Idea: Template parameter packs

オープン
#501 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cpp
領域
content

調査の方向性

リポジトリの README から始めて contributing-guide link を確認し、次に既存の C++ 演習セットを調べて template parameter-pack の対応状況を確認します。新しい演習を提案する現在のプロセスと、この例が v3 の概念に適合するかを確認します。完了の条件は、演習の範囲について合意し、contributing link を修正することです。

索引モデルが issue の本文から書いたものです。

説明

With the new v3 concepts I though it would be good to focus more on C++ specific ideas which aren't currently covered in the exercises. Here's some example solution code for the exercise:

#include <iostream>
#include <sstream>

// Should be able to take in any length/ type of arguements
template <typename... Args> std::string concat(Args... args)
{
    std::stringstream output;
    ((output << std::forward<Args>(args) << ","), ...);
    return output.str();
}

int main() {
    std::cout << concat(123, "test") << std::endl;
    // Prints: "123, test,"
    return 0;
}

Wanted to run this by other people before I went and created a whole exercise around it.

Also FYI the "Please see the contributing guide" in the README is a broken link.

主要言語
C++
スター
291
フォーク
244
平均マージ
17分
マージ済み PR(30日)
1

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

exercism/cpp のほかの issue

exercism/cpp の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。