...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::algorithm::join — Join algorithm.
template<typename SequenceSequenceT, typename Range1T> range_value< SequenceSequenceT >::type join(const SequenceSequenceT & Input, const Range1T & Separator);
This algorithm joins all strings in a 'list' into one long string. Segments are concatenated by given separator.
Parameters: |
|
||||
Returns: |
Concatenated string. |
||||
Notes: |
This function provides the strong exception-safety guarantee |