Commit 494c3f92 authored by captainwong's avatar captainwong

update

parent 72667023
......@@ -69,7 +69,7 @@ inline StringType join(const StringContainer& container, const StringType& conju
* @note StringContainer 必须为上述StringType的iterable容器类,如vector,list
*/
template <typename StringType, typename StringContainer = typename std::vector<StringType>>
inline typename StringContainer split(const StringType& str, const StringType& split_by)
inline StringContainer split(const StringType& str, const StringType& split_by)
{
StringContainer result;
if (str.size() <= split_by.size()) {
......
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