Home | Libraries | People | FAQ | More |
boost::algorithm::join_if — Conditional join algorithm.
template<typename SequenceSequenceT, typename Range1T, typename CharT, typename RegexTraitsT> range_value< SequenceSequenceT >::type join_if(const SequenceSequenceT & Input, Range1T & Separator, const basic_regex< CharT, RegexTraitsT > & Rx, match_flag_type Flags = match_default);
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.
Parameters: |
|
||||||||
Returns: | Concatenated string. |
||||||||
Notes: | This function provides the strong exception-safety guarantee |
Copyright © 2002-2004 Pavol Droba |