"tests/vscode:/vscode.git/clone" did not exist on "88fa6b7d68d77b2531462ebe5a339b8c5b034ce4"
Commit 885a27c0 authored by Davis King's avatar Davis King
Browse files

Made split() work on char* strings.

parent e8276602
......@@ -920,6 +920,14 @@ namespace dlib
return split(str,delim.c_str());
}
inline const std::vector<std::string> split (
const char* str,
const char* delim = " \n\r\t"
)
{
return split(std::string(str),delim);
}
// ----------------------------------------------------------------------------------------
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment