![]() |
Home | Libraries | People | FAQ | More |
boost::algorithm::join_if — Conditional join algorithm.
// In header: <boost/algorithm/string/regex.hpp> template<typename SequenceSequenceT, typename Range1T, typename CharT, typename RegexTraitsT> ( Input, Separator, Rx, Flags = );
This algorithm joins all strings in a 'list' into one long string. Segments are concatenated by given separator. Only segments that match the given regular expression will be added to the result
This is a specialization of join_if algorithm.
![]() |
Note |
---|---|
This function provides the strong exception-safety guarantee |
Parameters: |
|
||||||||
Returns: |
Concatenated string. |