14std::string_view toView(
const std::ostringstream & os);
21template<
class C,
class CharT =
char>
22C basicTokenizeString(std::basic_string_view<CharT>
s, std::basic_string_view<CharT> separators);
28C tokenizeString(std::string_view
s, std::string_view separators =
" \t\n\r");
30extern template std::list<std::string> tokenizeString(std::string_view
s, std::string_view separators);
31extern template std::set<std::string> tokenizeString(std::string_view
s, std::string_view separators);
32extern template std::vector<std::string> tokenizeString(std::string_view
s, std::string_view separators);
39template<
class C,
class CharT =
char>
40C basicSplitString(std::basic_string_view<CharT>
s, std::basic_string_view<CharT> separators);
42C splitString(std::string_view
s, std::string_view separators);
44extern template std::list<std::string> splitString(std::string_view
s, std::string_view separators);
45extern template std::set<std::string> splitString(std::string_view
s, std::string_view separators);
46extern template std::vector<std::string> splitString(std::string_view
s, std::string_view separators);
52std::string concatStringsSep(
const std::string_view sep,
const C & ss);
54extern template std::string concatStringsSep(std::string_view,
const std::list<std::string> &);
55extern template std::string concatStringsSep(std::string_view,
const std::set<std::string> &);
56extern template std::string concatStringsSep(std::string_view,
const std::vector<std::string> &);
67 "Consider removing the empty string dropping behavior. If acceptable, use concatStringsSep instead.")]] std::string
68dropEmptyInitThenConcatStringsSep(
const std::string_view sep,
const C & ss);
70extern template std::string dropEmptyInitThenConcatStringsSep(std::string_view,
const std::list<std::string> &);
71extern template std::string dropEmptyInitThenConcatStringsSep(std::string_view,
const std::set<std::string> &);
72extern template std::string dropEmptyInitThenConcatStringsSep(std::string_view,
const std::vector<std::string> &);
80std::list<std::string> shellSplitString(std::string_view
s);
return s
Definition lexer.l:459