Added to_string(std::size_t)
This commit is contained in:
parent
a9c387377b
commit
70941cbd4a
1 changed files with 6 additions and 0 deletions
|
|
@ -284,6 +284,12 @@ inline string to_string(long num) {
|
|||
return buf.str();
|
||||
}
|
||||
|
||||
inline string to_string(std::size_t num) {
|
||||
std::ostringstream buf;
|
||||
buf << num;
|
||||
return buf.str();
|
||||
}
|
||||
|
||||
inline string operator+(const char * left, const string& right) {
|
||||
return string(left) + right;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue