boost中的join

相当于guava中的Joiner
join算法在头文件,定义为

template<typename SequenceSequenceT, typename Range1T> 
  range_value< SequenceSequenceT >::type 
  join(const SequenceSequenceT & Input, const Range1T & Separator);

将所有的字符串合并成一个长串,字符串之间使用分隔符来拼接
Input:字符串窗口
Separator:字符串拼接符

参考资料
https://www.boost.org/doc/libs/1_83_0/doc/html/boost/algorithm/join.html

你可能感兴趣的:(boost,boost)