mirror of
https://github.com/arun11299/cpp-subprocess.git
synced 2025-08-06 05:16:24 -04:00
Make split inline
This commit is contained in:
parent
fb63ff77d3
commit
a665bff1bd
@ -146,7 +146,7 @@ namespace util
|
|||||||
* to be split. Default constructed to ' '(space) and '\t'(tab)
|
* to be split. Default constructed to ' '(space) and '\t'(tab)
|
||||||
* [out] vector<string> : Vector of strings split at deleimiter.
|
* [out] vector<string> : Vector of strings split at deleimiter.
|
||||||
*/
|
*/
|
||||||
static std::vector<std::string>
|
static inline std::vector<std::string>
|
||||||
split(const std::string& str, const std::string& delims=" \t")
|
split(const std::string& str, const std::string& delims=" \t")
|
||||||
{
|
{
|
||||||
std::vector<std::string> res;
|
std::vector<std::string> res;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user