omni::operator+
Defined in omni/String.h
-
string omni::operator+(const string &lhs, const string &rhs)
Creates a new string by concatenating
lhs
andrhs
.- Parameters
lhs – String the comes first in the new string.
rhs – String that comes second in the new string.
- Throws
std::length_error – if the resulting string would be being larger than max_size().
Allocation – This function may throw any exception thrown during allocation.
- Returns
A new string containing the characters from
lhs
followed by the characters fromrhs
.