mirror of
https://github.com/boostorg/algorithm.git
synced 2026-07-06 08:20:45 +02:00
c6f784cb70
On compilers that support C++11, this allows both lvalues and rvalues to be used as inputs to the split(), find_all(), and ifind_all() functions.
For example, given a function get_string() that returns a std::string, this allows you to write:
boost::split(result, get_string(), boost::is_any_of(" "))