boostorg / boostorg/algorithm

fast variadic string-concat

未关闭
#118 0 条评论 0 个 reaction 已指派 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
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。