boostorg / boostorg/algorithm

fast variadic string-concat

オープン
#118 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C++
スター
131
フォーク
117
PR マージ指標
30日以内にマージされた PR はありません

説明

Hello,
often string functions of the form
str = str + concat(strings...)
or
str = concat(strings...)
are needed. But so far there is no variadic std::concat or boost::algorithm::concat. I would like to make up for that here.
The goal of course must be to limit memory operations to the most necessary, i.e. to avoid temporary strings and thus (superfluous) new/delete etc.
My current implementations [concat.hpp.txt](https://github.com/boostorg/algorithm/files/11763557/concat.hpp.txt)
This also works with very old compilers - of course C++11 is generally required https://godbolt.org/z/cvWrzxr1e

thx
Gero

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

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

調査の方向性

Begin with the attached concat.hpp.txt implementation and compare its proposed API with the existing Boost.Algorithm structure. The issue names no repository file or test, so first locate the relevant algorithm entry points and test coverage. Done means an agreed variadic concat design with tests demonstrating the required behavior and memory-efficiency expectations.

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

評価

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

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

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