You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
This also works with very old compilers - of course C++11 is generally required https://godbolt.org/z/cvWrzxr1e
thx
Gero
The text was updated successfully, but these errors were encountered:
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
This also works with very old compilers - of course C++11 is generally required https://godbolt.org/z/cvWrzxr1e
thx
Gero
The text was updated successfully, but these errors were encountered: