Make reference signs consistent.
parent
83c16755ab
commit
501ce1d689
|
@ -718,7 +718,7 @@ generic_string stringReplace(generic_string subject, const generic_string& searc
|
||||||
return subject;
|
return subject;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<generic_string> stringSplit(const generic_string& input, const generic_string &delimiter)
|
std::vector<generic_string> stringSplit(const generic_string& input, const generic_string& delimiter)
|
||||||
{
|
{
|
||||||
auto start = 0U;
|
auto start = 0U;
|
||||||
auto end = input.find(delimiter);
|
auto end = input.find(delimiter);
|
||||||
|
@ -734,7 +734,7 @@ std::vector<generic_string> stringSplit(const generic_string& input, const gener
|
||||||
return output;
|
return output;
|
||||||
}
|
}
|
||||||
|
|
||||||
generic_string stringJoin(const std::vector<generic_string> &strings, const generic_string &separator)
|
generic_string stringJoin(const std::vector<generic_string>& strings, const generic_string& separator)
|
||||||
{
|
{
|
||||||
generic_string joined;
|
generic_string joined;
|
||||||
size_t length = strings.size();
|
size_t length = strings.size();
|
||||||
|
@ -749,7 +749,7 @@ generic_string stringJoin(const std::vector<generic_string> &strings, const gene
|
||||||
return joined;
|
return joined;
|
||||||
}
|
}
|
||||||
|
|
||||||
int stoiStrict(const generic_string &input)
|
int stoiStrict(const generic_string& input)
|
||||||
{
|
{
|
||||||
if (input.empty())
|
if (input.empty())
|
||||||
{
|
{
|
||||||
|
@ -778,7 +778,7 @@ int stoiStrict(const generic_string &input)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool allLinesAreNumeric(const std::vector<generic_string> &lines)
|
bool allLinesAreNumeric(const std::vector<generic_string>& lines)
|
||||||
{
|
{
|
||||||
const auto endit = lines.end();
|
const auto endit = lines.end();
|
||||||
for (auto it = lines.begin(); it != endit; ++it)
|
for (auto it = lines.begin(); it != endit; ++it)
|
||||||
|
|
|
@ -188,10 +188,10 @@ generic_string PathAppend(generic_string &strDest, const generic_string & str2ap
|
||||||
COLORREF getCtrlBgColor(HWND hWnd);
|
COLORREF getCtrlBgColor(HWND hWnd);
|
||||||
generic_string stringToUpper(generic_string strToConvert);
|
generic_string stringToUpper(generic_string strToConvert);
|
||||||
generic_string stringReplace(generic_string subject, const generic_string& search, const generic_string& replace);
|
generic_string stringReplace(generic_string subject, const generic_string& search, const generic_string& replace);
|
||||||
std::vector<generic_string> stringSplit(const generic_string& input, const generic_string &delimiter);
|
std::vector<generic_string> stringSplit(const generic_string& input, const generic_string& delimiter);
|
||||||
generic_string stringJoin(const std::vector<generic_string> &strings, const generic_string &separator);
|
generic_string stringJoin(const std::vector<generic_string>& strings, const generic_string& separator);
|
||||||
int stoiStrict(const generic_string &input);
|
int stoiStrict(const generic_string& input);
|
||||||
bool allLinesAreNumeric(const std::vector<generic_string> &lines);
|
bool allLinesAreNumeric(const std::vector<generic_string>& lines);
|
||||||
|
|
||||||
std::vector<generic_string> numericSort(std::vector<generic_string> input, bool isDescending);
|
std::vector<generic_string> numericSort(std::vector<generic_string> input, bool isDescending);
|
||||||
std::vector<generic_string> lexicographicSort(std::vector<generic_string> input, bool isDescending);
|
std::vector<generic_string> lexicographicSort(std::vector<generic_string> input, bool isDescending);
|
||||||
|
|
Loading…
Reference in New Issue