mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-22 22:13:35 +02:00
cb3723b54c
It removes many cases of redundnant string copying
14 lines
286 B
C++
14 lines
286 B
C++
#pragma once
|
|
|
|
VCMI_LIB_NAMESPACE_BEGIN
|
|
|
|
namespace vstd
|
|
{
|
|
|
|
DLL_LINKAGE std::vector<std::string> split(std::string s, const std::string& separators);
|
|
DLL_LINKAGE std::pair<std::string, std::string> splitStringToPair(const std::string& input, char separator);
|
|
|
|
}
|
|
|
|
VCMI_LIB_NAMESPACE_END
|