Added 'lowered' helper function
This commit is contained in:
parent
fcabd64a89
commit
878afc6d47
1 changed files with 6 additions and 0 deletions
|
|
@ -290,6 +290,12 @@ inline string to_string(std::size_t num) {
|
|||
return buf.str();
|
||||
}
|
||||
|
||||
inline string lowered(const string& str) {
|
||||
string tmp(str);
|
||||
to_lower(tmp);
|
||||
return tmp;
|
||||
}
|
||||
|
||||
inline string operator+(const char * left, const string& right) {
|
||||
return string(left) + right;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue