Кто-нибудь знает о ярлыке для boost::split
.То, что
std::vector<std::string> args;
boost::split(args, argsString, boost::is_any_of("\t "), boost::token_compress_on);
становится
auto const args = boost::split(args, argsString, boost::is_any_of("\t "), boost::token_compress_on);
or
auto const args = boost::split<std::vector>(args, argsString, boost::is_any_of("\t "), boost::token_compress_on);
В основном то же самое, что, например, один для trim
- trim_copy
.