diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2024-07-01 16:29:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-07-18 14:29:46 (GMT) |
commit | 2e16b58b7c72525f78b8aa1eebb7ccd9a0a24512 (patch) | |
tree | a9ab34ac6a2efc2ff89706381f1f7ff678efa912 /Source/cmConvertMSBuildXMLToJSON.py | |
parent | ce991188f39c657487bbda88ce450bc9c641248b (diff) | |
download | CMake-2e16b58b7c72525f78b8aa1eebb7ccd9a0a24512.zip CMake-2e16b58b7c72525f78b8aa1eebb7ccd9a0a24512.tar.gz CMake-2e16b58b7c72525f78b8aa1eebb7ccd9a0a24512.tar.bz2 |
cmStringAlgorithms: Move generic strings join function to public API
Move `cmJoinImpl` from `cmStringAlgorithms.cxx` to the
`cmStringAlgorithms.h` as `cmJoinStrings`. Two existing overloads are
not suitable for reverse iterators due to the hardcoded type of the
first parameter.
The signature is similar to the generic (template) `cmJoin`. With
`enable_if` "magic", `cmJoinString` could be renamed to `cmJoin` in the
future.
Also, replace `getJoinedLength` with `std::accumulate`.
Diffstat (limited to 'Source/cmConvertMSBuildXMLToJSON.py')
0 files changed, 0 insertions, 0 deletions