operator +=

+= 运算符用于添加至现有字符串

可见性
Public
特征符
const OMString& operator+=(const OMString& s);

const OMString& operator+=(const char s);

const OMString& operator+=(const char * s);
参数
s

这是要添加至字符串的字符

返回

更新后的字符串


反馈