Unfortunately we have to repeat all these overloads to set inline capacity and hasInlineData flag
| 175 | { |
| 176 | // Unfortunately we have to repeat all these overloads to set inline capacity and hasInlineData flag |
| 177 | SmallString(StringEncoding encoding = StringEncoding::Utf8) : String(encoding, N) {} |
| 178 | SmallString(const SmallString& other) : SmallString(other.getEncoding()) { String::operator=(other); } |
| 179 | SmallString(SmallString&& other) : SmallString(other.getEncoding()) { String::operator=(move(other)); } |
| 180 | String& operator=(const SmallString& other) { return String::operator=(other); } |
nothing calls this directly
no test coverage detected